内容更改
This commit is contained in:
@@ -16,16 +16,17 @@ export default defineConfig({
|
||||
host: '0.0.0.0',
|
||||
proxy: {
|
||||
'/api': {
|
||||
target: 'http://192.168.0.11:3000',
|
||||
changeOrigin: true
|
||||
target: 'http://192.168.0.12:3008',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/api/, '')
|
||||
},
|
||||
'/mid': {
|
||||
target: 'http://localhost:3005',
|
||||
target: 'http://192.168.0.4:3005/',
|
||||
changeOrigin: true,
|
||||
rewrite: (path) => path.replace(/^\/mid/, '')
|
||||
},
|
||||
'/uploads': {
|
||||
target: 'http://localhost:3000',
|
||||
target: 'http://192.168.0.12:3008',
|
||||
changeOrigin: true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user