From 6b07fdfbed1f701aad8205db4b9f53798ee74275 Mon Sep 17 00:00:00 2001 From: yangfuda <945208611@qq.com> Date: Thu, 18 Aug 2022 09:57:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E4=BB=98=E6=AC=BE=E6=96=B9?= =?UTF-8?q?=E6=A8=A1=E5=9D=97?= 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 eebba6a7..fe397f12 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': ''