Force WebSocket

This commit is contained in:
Louis Lam 2023-11-25 21:18:26 +08:00
parent 56eb46150f
commit 34af500b66
1 changed files with 1 additions and 0 deletions

View File

@ -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) => {