diff --git a/vue.config.js b/vue.config.js index a95e9a61..4bfcc671 100644 --- a/vue.config.js +++ b/vue.config.js @@ -128,12 +128,13 @@ module.exports = { }, '/systemapi': { // 目标代理服务器地址 - target: 'http://127.0.0.1:9090', + // target: 'http://127.0.0.1:9090', + target: 'https://u-pre.boe.com', changeOrigin: true, logLevel:'debug', secure: false, pathRewrite: { - '^/systemapi': '' + // '^/systemapi': '' } }, '/uboeApi': { @@ -156,22 +157,24 @@ module.exports = { }, '/statApi': { // 目标代理服务器地址 - target: 'http://127.0.0.1:9080', + // target: 'http://127.0.0.1:9080', + target: 'https://u-pre.boe.com', changeOrigin: true, logLevel:'debug', secure: false, pathRewrite: { - '^/statApi': '' + // '^/statApi': '' } }, '/socialApi': { // 目标代理服务器地址 - target: 'http://127.0.0.1:9081', + // target: 'http://127.0.0.1:9081', + target: 'https://u-pre.boe.com', changeOrigin: true, logLevel:'debug', secure: false, pathRewrite: { - '^/socialApi': '' + // '^/socialApi': '' } }, '/report': { @@ -183,13 +186,19 @@ module.exports = { '^/report': '/report' } }, + '/infrasApi': { + // 目标代理服务器地址 + target: 'https://u-pre.boe.com', + changeOrigin: true, + secure: false, + }, }, }, - + css: { extract: { ignoreOrder: true } } - + }