From 169c621bc470ff0d55b97f957269d8ef2f53a49b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=A9=AC=E6=A2=93=E5=BD=AD?= Date: Thu, 7 May 2026 08:33:22 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vite.config.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index b9a165f..e3b664a 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -30,8 +30,8 @@ const viteConfig = defineConfig((mode: ConfigEnv) => { hmr: true, proxy: { '/api': { - target: 'http://localhost:9996', - // target: 'http://8.153.108.90:9996', + // target: 'http://localhost:9996', + target: 'http://8.153.108.90:9996', ws: true, changeOrigin: true, secure: false, //解决target使用https出错问题