From 42fbb0ea376c5c9f5b5dc34f5d7f2f018bb88564 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A5=9E=E4=BB=99=E9=83=BD=E6=B2=A1=E7=94=A8?= <615206459@qq.com> Date: Thu, 28 Sep 2023 17:12:18 +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 --- src/config/proxy.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/config/proxy.ts b/src/config/proxy.ts index 2ef5eba..9d6c263 100644 --- a/src/config/proxy.ts +++ b/src/config/proxy.ts @@ -1,7 +1,6 @@ export const proxy = { "/dev/": { - // target: "http://127.0.0.1:8001", - target: "https://admin-dev.cool-js.cloud", + target: "http://127.0.0.1:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/dev/, "") },