Skip to content

Commit

Permalink
Update base URL in vite.config.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
codad5 committed Nov 29, 2023
1 parent 3f8237c commit e71317d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ 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: process.env.NODE_ENV !== "production" ? "/google-task-tauri/" : "/",
base: "/google-task-tauri/"
}));

0 comments on commit e71317d

Please sign in to comment.