|
|
@@ -54,49 +54,32 @@ module.exports = defineConfig({
|
|
|
changeOrigin: true,
|
|
|
rewrite: (p) => p.replace(/^\/system-biz/, '')
|
|
|
},
|
|
|
- '/api/announcement': {
|
|
|
+
|
|
|
+ '/api/hydrologicalManagement': {
|
|
|
//测试环境
|
|
|
- target: 'http://10.157.225.55:28083',//http://192.168.1.185:28131
|
|
|
- changOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api/announcement': '/api/announcement'
|
|
|
- }
|
|
|
+ target: 'http://192.168.1.185:28131',//http://192.168.1.185:28131
|
|
|
+ changOrigin: true
|
|
|
},
|
|
|
- '/api/hydrologicalManagement': {
|
|
|
+ '/api/announcement': {
|
|
|
//测试环境
|
|
|
- target: 'http://10.157.225.55:28083',//http://192.168.1.185:28131
|
|
|
- changOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api/hydrologicalManagement': '/api/hydrologicalManagement'
|
|
|
- }
|
|
|
+ target: 'http://192.168.1.185:28131',//http://192.168.1.185:28131
|
|
|
+ changOrigin: true
|
|
|
},
|
|
|
'/api/monitoringData':{
|
|
|
- target: 'http://10.157.225.55:28083',//http://192.168.1.185:28131
|
|
|
+ target: 'http://192.168.1.185:28131',//http://192.168.1.185:28131
|
|
|
changOrigin: true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api/monitoringData': '/api/monitoringData'
|
|
|
- }
|
|
|
},
|
|
|
'/api/ttvideo':{
|
|
|
target:"http://10.157.200.5",
|
|
|
- changOrigin:true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api/ttvideo': '/api/ttvideo'
|
|
|
- }
|
|
|
+ changOrigin:true
|
|
|
},
|
|
|
'/api/ttanalysis':{
|
|
|
target:"http://10.157.200.5",
|
|
|
- changOrigin:true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api/ttanalysis': '/api/ttanalysis'
|
|
|
- }
|
|
|
+ changOrigin:true
|
|
|
},
|
|
|
'/api/order':{
|
|
|
target:"http://10.157.200.5",
|
|
|
- changOrigin:true,
|
|
|
- pathRewrite: {
|
|
|
- '^/api/order': '/api/order'
|
|
|
- }
|
|
|
+ changOrigin:true
|
|
|
}
|
|
|
}
|
|
|
},
|