|
@@ -34,11 +34,18 @@ module.exports = {
|
|
|
proxy: {
|
|
|
// detail: https://cli.vuejs.org/config/#devserver-proxy
|
|
|
[process.env.VUE_APP_BASE_API]: {
|
|
|
- target: `http://192.168.1.9:8081`,
|
|
|
+ target: `http://192.168.0.127:8081`,
|
|
|
changeOrigin: true,
|
|
|
pathRewrite: {
|
|
|
['^' + process.env.VUE_APP_BASE_API]: ''
|
|
|
}
|
|
|
+ },
|
|
|
+ [process.env.VUE_APP_FACE_AUTH]:{
|
|
|
+ target: `https://dsptest.cpcn.com.cn/DSPLivenessWeb/InterfaceVI`,
|
|
|
+ changeOrigin: true,
|
|
|
+ pathRewrite: {
|
|
|
+ ['^'+ process.env.VUE_APP_FACE_AUTH]: ''
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
disableHostCheck: true
|