From 48e742e5019e2b896993ef063f93d3c8542204c5 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, 19 Oct 2022 11:28:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=9C=E4=B8=9A=E6=89=A7=E6=B3=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/index.js b/config/index.js index 000c0c88..689c3c16 100644 --- a/config/index.js +++ b/config/index.js @@ -12,10 +12,8 @@ module.exports = { proxyTable: { "/api": { // 请求的目标主机 - target: 'http://192.168.0.105:8080/', //target: 'http://116.255.223.226:8081/nsgk_test/', - //target: 'http://116.255.223.226:8083/nsgk_yongqiaoqu', - //target: 'http://localhost:8080/', + target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/api': ''