Add base path

This commit is contained in:
2026-06-23 22:13:38 +02:00
parent e042943bd3
commit 5bdc37ebcf
6 changed files with 18 additions and 11 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ if (isDev) {
}
export default defineConfig({
base: './',
base: process.env.VITE_BASE_PATH || '/',
plugins: [react(), tailwindcss()],
define: {
__APP_VERSION__: JSON.stringify(APP_VERSION),