From 1e14caf09d9c6e951ba945824e439848b9abc4bc Mon Sep 17 00:00:00 2001 From: Owen Schwartz Date: Sun, 8 Dec 2024 16:13:21 -0500 Subject: [PATCH] Move websocket --- server/apiServer.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/apiServer.ts b/server/apiServer.ts index 424df49d..6a45a09e 100644 --- a/server/apiServer.ts +++ b/server/apiServer.ts @@ -37,7 +37,7 @@ export function createApiServer() { apiServer.use(prefix, authenticated); // WebSocket routes - apiServer.use(`/ws`, wsRouter); + apiServer.use(prefix, wsRouter); // Error handling apiServer.use(notFoundMiddleware);