|
@@ -45,6 +45,7 @@ module.exports = {
|
|
|
// target: `http://10.16.4.2:8080`, //陈航
|
|
|
// target: `http://10.16.4.5:8080`,//孙坤阳
|
|
|
// target: `http://10.16.4.9:8080`,//初标
|
|
|
+ // target: `http://10.16.4.14:801/prod-api`,//本地服务器
|
|
|
target: `http://localhost:8080`,
|
|
|
// target: `https://www.jlyanglao.com/prod-api`,
|
|
|
// target: `http://121.36.73.159:801/prod-api`,
|
|
@@ -55,13 +56,24 @@ module.exports = {
|
|
|
}
|
|
|
},
|
|
|
'/uploadPath': {
|
|
|
- // target: `http://localhost:8080/uploadPath`,
|
|
|
- target: `http://121.36.73.159:801/uploadPath`,
|
|
|
+ target: `http://localhost:8080/uploadPath`,
|
|
|
+ // target: `http://10.16.4.5:8080/uploadPath`,//孙坤阳
|
|
|
+ // target: `https://www.jlyanglao.com/uploadPath`,
|
|
|
+ // target: `http://10.16.4.14:801/uploadPath`,//本地服务器
|
|
|
+ // target: `http://121.36.73.159:801/uploadPath`,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + '/uploadPath']: ''
|
|
|
}
|
|
|
},
|
|
|
+ '/baiduApi': {
|
|
|
+ target: `https://aip.baidubce.com`,
|
|
|
+ changeOrigin: true,
|
|
|
+ secure: false,
|
|
|
+ pathRewrite: {
|
|
|
+ "^/baiduApi": ""
|
|
|
+ }
|
|
|
+ },
|
|
|
'/getxflrinfo': {
|
|
|
target: `http://121.36.73.159:8090/getxflrinfo`,
|
|
|
changeOrigin: true,
|