From 9b4e1e17c0f8d1bfff965a698ec270932557db3f Mon Sep 17 00:00:00 2001 From: Julian Krauser Date: Sat, 26 Jul 2025 11:47:49 +0200 Subject: [PATCH] enhance: socketio sharing /api route --- src/websocket/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/websocket/index.ts b/src/websocket/index.ts index 82c7a8f..9c0638d 100644 --- a/src/websocket/index.ts +++ b/src/websocket/index.ts @@ -20,6 +20,7 @@ export default abstract class SocketServer { public static init(httpServer: httpServerType) { this.io = new Server(httpServer, { + path: "/api/socket.io", cors: { origin: "*", methods: ["GET", "POST"],