Skip to content

Commit ec726fb

Browse files
committed
Update Vite configuration to set base path to root for consistent asset loading in all environments.
1 parent 6ccd4d4 commit ec726fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vite.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export default defineConfig({
1717
},
1818
},
1919
],
20-
base: process.env.NODE_ENV === 'production' ? '/' : '/',
20+
base: '/',
2121
build: {
2222
assetsDir: 'assets',
2323
outDir: 'dist',

0 commit comments

Comments
 (0)