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, }, },