lion 2 years ago
parent ea7952e139
commit 324761dfd3

@ -56,7 +56,14 @@ module.exports = {
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: process.env.VUE_APP_BASE_API
}
}
},
['/api/admin/other/contract']: {
target: 'http://192.168.60.100:9002',
changeOrigin: true, //配置跨域
pathRewrite: {
['^/api/admin/other/contract']: '/api/admin/other/contract'
}
},
}
},
configureWebpack: {

Loading…
Cancel
Save