diff --git a/web/vite.config.ts b/web/vite.config.ts index 930c0f36e..de0cad248 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: [ @@ -44,3 +53,6 @@ export default defineConfig({ globals: true, }, }); + + +