【update】-增加WP29和ISO等配置项
This commit is contained in:
+18
-6
@@ -90,16 +90,28 @@ module.exports = {
|
||||
// ''
|
||||
target: 'http://localhost:8080', //请求本地 jero-boot后台项目
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
changeOrigin: true
|
||||
},
|
||||
// 请求大屏客户环境
|
||||
'/zxd':{
|
||||
target: 'http://www.catarc.org.cn:8088',
|
||||
// 请求WP29客户环境
|
||||
"/WPApi": {
|
||||
target: "http://localhost:8080",
|
||||
changeOrigin: true,
|
||||
ws: false,
|
||||
pathRewrite: {
|
||||
"^/WPApi": "/jeecg-boot" // 请求WP29项目的后端并重写前缀
|
||||
}
|
||||
},
|
||||
"/ISO": {
|
||||
target: "http://localhost:8081",
|
||||
ws: false,
|
||||
changeOrigin: true,
|
||||
pathRewrite: {
|
||||
"^/ISO": "/jeecg-boot" // 请求WP29项目的后端并重写前缀
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
}
|
||||
},
|
||||
|
||||
lintOnSave: true,
|
||||
lintOnSave: true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user