From 34af500b66d82c680dcd808a99289ee7eb89edb6 Mon Sep 17 00:00:00 2001 From: Louis Lam Date: Sat, 25 Nov 2023 21:18:26 +0800 Subject: [PATCH] Force WebSocket --- backend/dockge-server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/dockge-server.ts b/backend/dockge-server.ts index 7aaba63..c4a358f 100644 --- a/backend/dockge-server.ts +++ b/backend/dockge-server.ts @@ -195,6 +195,7 @@ export class DockgeServer { // Create Socket.io this.io = new socketIO.Server(this.httpServer, { cors, + transports: [ "websocket" ], }); this.io.on("connection", async (socket: Socket) => {