From 64501606c0c388ef274f2b64f96ab72c0b1c1a9f Mon Sep 17 00:00:00 2001 From: itqop Date: Tue, 11 Feb 2025 04:12:00 +0300 Subject: [PATCH] fix --- vite.config.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/vite.config.ts b/vite.config.ts index 527cd42..7f46f3c 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -52,9 +52,8 @@ export default defineConfig({ port: 3000, proxy: { '/api': { - target: 'http://127.0.0.1:4000', + target: 'https://todou.net', changeOrigin: true, - ws: true } }, allowedHosts: ['localhost', 'todou.net']