Set base path for Vite configuration

This commit is contained in:
viper151
2026-01-26 11:56:05 +01:00
committed by GitHub
parent 5724c11253
commit 1b42dba902

View File

@@ -7,6 +7,7 @@ export default defineConfig(({ command, mode }) => {
return {
base: './',
plugins: [react()],
server: {
port: parseInt(env.VITE_PORT) || 5173,
@@ -45,4 +46,4 @@ export default defineConfig(({ command, mode }) => {
}
}
}
})
})