From 1a3edd4b0905b7527d1fd86d91cbdd6fc6d4fd0a Mon Sep 17 00:00:00 2001 From: heyh Date: Thu, 19 Sep 2019 11:50:15 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- roncoo-education-boss/config/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roncoo-education-boss/config/index.js b/roncoo-education-boss/config/index.js index 2550d279..d6bb6c2e 100644 --- a/roncoo-education-boss/config/index.js +++ b/roncoo-education-boss/config/index.js @@ -11,7 +11,7 @@ module.exports = { assetsPublicPath: '/', proxyTable: { '/apis': { //这里是公共部分,在调用接口时后面接不相同的部分,/api就相当于http://192.168.0.199:8926/api这一段 - target: 'http://192.168.1.182:5840/api', //这里写的是访问接口的域名和端口号 + target: 'http://192.168.1.181:5840/api', //这里写的是访问接口的域名和端口号 changeOrigin: true, // 必须加上这个才能跨域请求 pathRewrite: { // 重命名 '^/apis': '' -- GitLab