x
This commit is contained in:
+10
-2
@@ -9,9 +9,9 @@ export default defineConfig(({ mode }) => ({
|
||||
'@': resolve(__dirname, 'src'),
|
||||
},
|
||||
},
|
||||
base: mode === 'development' ? '/' : '/static/',
|
||||
base: '/',
|
||||
build: {
|
||||
outDir: '../static',
|
||||
outDir: 'dist',
|
||||
emptyOutDir: true,
|
||||
},
|
||||
server: {
|
||||
@@ -21,6 +21,14 @@ export default defineConfig(({ mode }) => ({
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/health': {
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/html': {
|
||||
target: 'http://localhost:8000',
|
||||
changeOrigin: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user