diff --git a/vue.config.js b/vue.config.js index 40768d4..ef936c6 100644 --- a/vue.config.js +++ b/vue.config.js @@ -90,16 +90,28 @@ module.exports = { // '' target: 'http://localhost:8080', //请求本地 jero-boot后台项目 ws: false, - changeOrigin: true, + changeOrigin: true }, - // 请求大屏客户环境 - '/zxd':{ - target: 'http://www.catarc.org.cn:8088', + // 请求WP29客户环境 + "/WPApi": { + target: "http://localhost:8080", + changeOrigin: true, + ws: false, + pathRewrite: { + "^/WPApi": "/jeecg-boot" // 请求WP29项目的后端并重写前缀 + } + }, + "/ISO": { + target: "http://localhost:8081", ws: false, changeOrigin: true, + pathRewrite: { + "^/ISO": "/jeecg-boot" // 请求WP29项目的后端并重写前缀 + } } - }, + + } }, - lintOnSave: true, + lintOnSave: true }