mirror of
https://github.com/louislam/dockge.git
synced 2024-11-24 17:23:28 +01:00
Force WebSocket
This commit is contained in:
parent
56eb46150f
commit
34af500b66
@ -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) => {
|
||||||
|
Loading…
Reference in New Issue
Block a user