From a3c44ceb8c736d96b42e06149ec0e32594363e35 Mon Sep 17 00:00:00 2001 From: Harry-zklcdc Date: Thu, 15 Feb 2024 02:59:03 +0800 Subject: [PATCH] =?UTF-8?q?[Fix]=20=F0=9F=90=9B=20Cors=20in=20Dev=20Fronte?= =?UTF-8?q?nd?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/vite.config.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/vite.config.ts b/frontend/vite.config.ts index b6c0b101e6..042cc15d17 100644 --- a/frontend/vite.config.ts +++ b/frontend/vite.config.ts @@ -71,7 +71,7 @@ export default defineConfig(({ command, mode }) => { '^/(?!web)': { ws: true, target: env.VITE_BASE_API_URL, - changeOrigin: true, + changeOrigin: false, }, }, },