From d6fff3cbf62585302def6e67500c786293ce0814 Mon Sep 17 00:00:00 2001 From: icssoa <615206459@qq.com> Date: Thu, 25 Jan 2024 21:51:55 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E5=B8=837.1.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/config/proxy.ts | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/config/proxy.ts b/src/config/proxy.ts index d938a07..9d6c263 100644 --- a/src/config/proxy.ts +++ b/src/config/proxy.ts @@ -1,8 +1,6 @@ export const proxy = { "/dev/": { - target: "http://192.168.0.119:8001", - // target: "http://127.0.0.1:8004", - // target: "https://test-admin.cool-js.cloud", + target: "http://127.0.0.1:8001", changeOrigin: true, rewrite: (path: string) => path.replace(/^\/dev/, "") },