Working reverse proxy

This commit is contained in:
Julien Valverdé
2024-07-17 01:43:21 +02:00
parent 2497aaa236
commit 2daf60faf3
4 changed files with 67 additions and 10 deletions

View File

@@ -6,7 +6,13 @@ import { defineConfig } from "vite"
// https://vitejs.dev/config/
export default defineConfig({
server: {
host: true,
port: 80,
hmr: {
host: "webui.localhost",
port: Number(process.env.PORT),
},
},
plugins: [