添加银行和政府端小程序
This commit is contained in:
@@ -28,16 +28,13 @@ export default defineConfig(({ mode }) => {
|
||||
server: {
|
||||
port: 5400,
|
||||
host: '0.0.0.0',
|
||||
strictPort: true,
|
||||
proxy: {
|
||||
'/api/auth': {
|
||||
target: env.VITE_API_FULL_URL || 'http://localhost:5352',
|
||||
changeOrigin: true,
|
||||
secure: false
|
||||
},
|
||||
'/api': {
|
||||
target: env.VITE_API_FULL_URL || 'http://localhost:5352',
|
||||
target: 'http://localhost:5352',
|
||||
changeOrigin: true,
|
||||
secure: false
|
||||
secure: false,
|
||||
rewrite: (path) => path.replace(/^\/api/, '/api')
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user