Fixed Tauri-Build (now using absolute paths again)

This commit is contained in:
Felix Kaspar
2024-08-12 22:49:00 +02:00
parent e806ee8015
commit c2bcda925a
8 changed files with 32 additions and 43 deletions

View File

@@ -49,5 +49,5 @@ export default defineConfig(async () => ({
// 3. to make use of `TAURI_DEBUG` and other env variables
// https://tauri.app/v1/api/config#buildconfig.beforedevcommand
envPrefix: ["VITE_"],
base: '',
base: '/', // relative paths sadly don't work with react router dom sub-dirs for some reason...
}));