From fdad82bf8887494ae8b4d934868b66ddc77c06ea Mon Sep 17 00:00:00 2001 From: DhanushSantosh Date: Sun, 18 Jan 2026 01:52:11 +0530 Subject: [PATCH] fix: enable WebSocket proxying in Vite dev server Enables ws: true for /api proxy to properly forward WebSocket connections through the development server in web mode. This ensures real-time features work correctly when developing in browser mode. Co-Authored-By: Claude Haiku 4.5 --- apps/ui/vite.config.mts | 1 + 1 file changed, 1 insertion(+) diff --git a/apps/ui/vite.config.mts b/apps/ui/vite.config.mts index 81d74391..1a378d56 100644 --- a/apps/ui/vite.config.mts +++ b/apps/ui/vite.config.mts @@ -72,6 +72,7 @@ export default defineConfig(({ command }) => { '/api': { target: 'http://localhost:3008', changeOrigin: true, + ws: true, }, }, },