From de225cf04cbaaee104011ad2bdd254a18a7a3fad Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Mon, 28 Feb 2022 17:20:59 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=98=E5=9B=BE=E5=BC=B9=E7=AA=97=E4=BC=98?= =?UTF-8?q?=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 7e58e1c7..b92cfe95 100644 --- a/config/index.js +++ b/config/index.js @@ -13,7 +13,8 @@ module.exports = { "/api": { // 请求的目标主机 //target: 'http://116.255.135.38:8081/nsgk_test/', - target: 'http://localhost:8080/', + //target: 'http://localhost:8080/', + target:'http://192.168.31.92:8080', changeOrigin: true, pathRewrite: { '^/api': ''