diff --git a/vite.config.ts b/vite.config.ts index 1154d25..6140614 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -17,6 +17,5 @@ export default defineConfig(async () => ({ // 3. to make use of `TAURI_DEBUG` and other env variables // https://tauri.studio/v1/api/config#buildconfig.beforedevcommand envPrefix: ["VITE_", "TAURI_"], - base: "/google-task-tauri/" + base: process.env.NODE_ENV !== "production" ? "/google-task-tauri/" : "/", })); -