diff --git a/web/vite.config.ts b/web/vite.config.ts index 930c0f36e..ee33d491a 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -19,7 +19,16 @@ export default defineConfig({ }, '/exports': { target: 'http://localhost:5000' - } + }, + '/ws': { + target: 'ws://localhost:5000', + ws: true, + }, + '/live': { + target: 'ws://localhost:5000', + changeOrigin: true, + ws: true, + }, } }, plugins: [ @@ -43,4 +52,4 @@ export default defineConfig({ restoreMocks: true, globals: true, }, -}); +}); \ No newline at end of file