mirror of
https://github.com/louislam/dockge.git
synced 2026-05-21 14:02:17 +00:00
Force WebSocket
This commit is contained in:
@@ -195,6 +195,7 @@ export class DockgeServer {
|
|||||||
// Create Socket.io
|
// Create Socket.io
|
||||||
this.io = new socketIO.Server(this.httpServer, {
|
this.io = new socketIO.Server(this.httpServer, {
|
||||||
cors,
|
cors,
|
||||||
|
transports: [ "websocket" ],
|
||||||
});
|
});
|
||||||
|
|
||||||
this.io.on("connection", async (socket: Socket) => {
|
this.io.on("connection", async (socket: Socket) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user