mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
Force WebSocket
This commit is contained in:
parent
56eb46150f
commit
34af500b66
1 changed files with 1 additions and 0 deletions
|
@ -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 a new issue