@ -19,7 +19,7 @@ export default defineConfig({
build: {
outDir: path.resolve(currentDir, 'wwwroot')
},
base: (process.env.BASE_PATH.replace(/\/$/, '') ?? '') + '/',
base: ((process.env.BASE_PATH ?? '').replace(/\/$/, '') ?? '') + '/',
server: {
port: 8080,
hot: true,