|
@@ -38,15 +38,15 @@ module.exports = {
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
// target: `http://fuyu.scapp.cn/prod-api/`,
|
|
// target: `http://fuyu.scapp.cn/prod-api/`,
|
|
- target: `http://192.168.0.71:8080`,
|
|
|
|
|
|
+ target: `https://fuyu.cc-lotus.info`,
|
|
// target: `http://172.17.116.208:8080`,
|
|
// target: `http://172.17.116.208:8080`,
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
pathRewrite: {
|
|
pathRewrite: {
|
|
- ['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
|
|
|
+ ['^' + process.env.VUE_APP_BASE_API]: '/prod-api/'
|
|
}
|
|
}
|
|
},
|
|
},
|
|
'/dw': {
|
|
'/dw': {
|
|
- target: `http://fuyu.scapp.cn/`,
|
|
|
|
|
|
+ target: `https://fuyu.cc-lotus.info/`,
|
|
changeOrigin: true,
|
|
changeOrigin: true,
|
|
},
|
|
},
|
|
},
|
|
},
|