Skip to content

Instantly share code, notes, and snippets.

View mike-jewell's full-sized avatar

Michael Jewell mike-jewell

  • Arragro
  • Auckland, New Zealand
View GitHub Profile
@mike-jewell
mike-jewell / minecraft-server.yml
Created November 13, 2018 23:17
minecraft-server aks config mikejewell
apiVersion: apps/v1
kind: Deployment
metadata:
name: minecraft-server
spec:
replicas: 1
selector:
matchLabels:
app: minecraft-server
template:
@mike-jewell
mike-jewell / index.ts
Created October 25, 2022 01:44
vite-plugin-ssr_https
import express from 'express'
import compression from 'compression'
import { renderPage } from 'vite-plugin-ssr'
import { Options } from 'sirv'
import fs from 'fs'
import path from 'path'
import https from 'https'
const isProduction = process.env.NODE_ENV === 'production'
const root = `${__dirname}/..`