Skip to content

Commit

Permalink
Update base URL in vite.config.ts
Browse files Browse the repository at this point in the history
codad5 committed Nov 29, 2023

Verified

This commit was signed with the committer’s verified signature.
sandhose Quentin Gliech
1 parent 22b4152 commit 3f8237c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions vite.config.ts
Original file line number Diff line number Diff line change
@@ -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/" : "/",
}));

0 comments on commit 3f8237c

Please sign in to comment.