From 3a526b7688b002c6f29f7510257700e917e2f8d7 Mon Sep 17 00:00:00 2001 From: Julian Waller Date: Wed, 6 Nov 2024 13:42:01 +0000 Subject: [PATCH] chore: fix dev websocket --- packages/webui/vite.config.mts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/packages/webui/vite.config.mts b/packages/webui/vite.config.mts index 69b894f48e..ed80e5b1df 100644 --- a/packages/webui/vite.config.mts +++ b/packages/webui/vite.config.mts @@ -66,6 +66,10 @@ export default defineConfig({ '/api': 'http://127.0.0.1:3000', '/site.webmanifest': 'http://127.0.0.1:3000', '/meteor-runtime-config.js': 'http://127.0.0.1:3000', + '/websocket': { + target: `ws://127.0.0.1:3000`, + ws: true, + }, }, },