From 2f44d7d404327161860d6a8cb99e9005716f0f2e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Wed, 23 Feb 2022 11:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=87=E6=8D=A2=E5=9C=B0=E5=9B=BE=E5=BC=B9?= =?UTF-8?q?=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 6dc3ff1d..7e58e1c7 100644 --- a/config/index.js +++ b/config/index.js @@ -13,8 +13,7 @@ module.exports = { "/api": { // 请求的目标主机 //target: 'http://116.255.135.38:8081/nsgk_test/', - //target: 'http://localhost:8080/', - target:'http://192.168.31.74:8080', + target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/api': ''