From dae7e482d70e8cbe8b6fefa8c44e72702341488a 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, 29 Feb 2024 11:26:14 +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 bf7e9b8..9d6c263 100644 --- a/src/config/proxy.ts +++ b/src/config/proxy.ts @@ -1,7 +1,6 @@ export const proxy = { "/dev/": { - target: "https://test-admin.cool-js.cloud", - // target: "http://127.0.0.1:8001", + target: "http://127.0.0.1:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/dev/, "") },