unify the prod and dev env and use only relative base path ./ in the Admin UI

This commit is contained in:
Gani Georgiev
2022-08-01 20:55:31 +03:00
parent fbeaabf6aa
commit 6292e6cc2e
10 changed files with 16 additions and 16 deletions

View File

@@ -7,7 +7,7 @@ export default defineConfig({
port: 3000,
},
envPrefix: 'PB',
base: process.env.NODE_ENV === 'production' ? '/_/' : './',
base: './',
build: {
chunkSizeWarningLimit: 1000,
reportCompressedSize: false,