From 7c79a88c18d250bab3500def0e322fac1a2e01f4 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: Fri, 21 Mar 2025 23:19:23 +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 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/proxy.ts b/src/config/proxy.ts index a6735ee..4f4e5db 100644 --- a/src/config/proxy.ts +++ b/src/config/proxy.ts @@ -1,6 +1,6 @@ const proxy = { '/dev/': { - target: 'http://127.0.0.1:8888', + target: 'http://127.0.0.1:8001', changeOrigin: true, rewrite: (path: string) => path.replace(/^\/dev/, '') }, @@ -12,7 +12,7 @@ const proxy = { } }; -const value = 'prod'; +const value = 'dev'; const host = proxy[`/${value}/`]?.target; export { proxy, host, value };