From 56f4c1eeef299a17914aa99cf03d4ff1de0d45ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BA=9E=E4=B8=9C=E6=97=AD?= <850374051@qq.com> Date: Tue, 23 Aug 2022 14:38:26 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/index.js b/config/index.js index 2c5eeffb..689c3c16 100644 --- a/config/index.js +++ b/config/index.js @@ -12,8 +12,8 @@ module.exports = { proxyTable: { "/api": { // 请求的目标主机 - target: 'http://116.255.223.226:8081/nsgk_test/', - // target: 'http://localhost:8080/', + //target: 'http://116.255.223.226:8081/nsgk_test/', + target: 'http://localhost:8080/', changeOrigin: true, pathRewrite: { '^/api': ''