diff --git a/vue.config.js b/vue.config.js index ea7ac79..6515211 100644 --- a/vue.config.js +++ b/vue.config.js @@ -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') } ) - } \ No newline at end of file + } +}