From a38cc623e6016b86d73a3ebb13442cb2e9e0c768 Mon Sep 17 00:00:00 2001 From: abearxiong Date: Thu, 22 Jan 2026 23:48:02 +0800 Subject: [PATCH] update --- vite.config.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 97962a9..03d3a03 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -79,12 +79,6 @@ export default defineConfig({ target: 'https://kevisual.xiongxiao.me', changeOrigin: true, }, - '/api': { - target: 'http://localhost:4005', - changeOrigin: true, - ws: true, - rewrite: (path) => path.replace(/^\/api/, '/api'), - }, ...proxy, }, },