diff --git a/light9/homepage/vite.config.ts b/light9/homepage/vite.config.ts --- a/light9/homepage/vite.config.ts +++ b/light9/homepage/vite.config.ts @@ -1,16 +1,19 @@ import { defineConfig } from "vite"; +const servicePort = 8200; // (not really, for homepage) export default defineConfig({ + base: "/", root: "./light9/homepage", publicDir: "../web", server: { host: "0.0.0.0", strictPort: true, - port: 8300, + port: servicePort + 100, hmr: { - port: 8400, + port: servicePort + 200, }, }, + clearScreen: false, define: { global: {}, },