From d205a7683a3ab55c7500fe3507b3f0e95265ea1e Mon Sep 17 00:00:00 2001 From: Gener <39689863+GenerQAQ@users.noreply.github.com> Date: Tue, 30 May 2023 18:55:23 +0800 Subject: [PATCH] fix: add public base path (#1748) (#1775) --- web/vite.config.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/vite.config.ts b/web/vite.config.ts index 003f0479..0d686f80 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -10,6 +10,7 @@ if (process.env.DEV_PROXY_SERVER && process.env.DEV_PROXY_SERVER.length > 0) { // https://vitejs.dev/config/ export default defineConfig({ + base: "./", plugins: [react()], server: { host: "0.0.0.0",