From 5234bfa7d68f0d6f58b6204739c315f919a1cd33 Mon Sep 17 00:00:00 2001 From: lixin <2967839139@qq.com> Date: Sat, 25 Jan 2025 18:15:58 +0800 Subject: [PATCH] chore: Update proxy configuration target Change the production proxy target to a new server endpoint --- src/config/proxy.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/proxy.ts b/src/config/proxy.ts index 9d6c263..e703956 100644 --- a/src/config/proxy.ts +++ b/src/config/proxy.ts @@ -6,7 +6,7 @@ export const proxy = { }, "/prod/": { - target: "https://show.cool-admin.com", + target: "http://120.48.5.80:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/prod/, "/api") }