刘翔宇-旅管家 3 years ago
parent 046dda1fc6
commit 43bd77a2b4

@ -46,8 +46,8 @@ module.exports = {
//before: require('./mock/mock-server.js')
proxy: {
[process.env.VUE_APP_BASE_API]: {
//target: 'http://hdcontract.ali251.langye.net',
target: process.env.VUE_APP_DOMIAN, // 'http://192.168.60.99:9003/',
target: 'http://hdcontract.ali251.langye.net',
//target: 'http://192.168.60.99:9003/',
changeOrigin: true, //配置跨域
pathRewrite: {
['^' + process.env.VUE_APP_BASE_API]: ''
@ -55,7 +55,7 @@ module.exports = {
},
'/oa': {
//target: 'http://suzhouhedaooa.langye.net',
target: process.env.VUE_APP_OUT_URL,
target: 'http://192.168.60.18:2021',
changeOrigin: true, //配置跨域
pathRewrite: {
'/oa': '/'
@ -153,4 +153,5 @@ module.exports = {
config.optimization.runtimeChunk('single')
}
)
}
}
}

Loading…
Cancel
Save