mirror of
https://github.com/louislam/dockge.git
synced 2024-11-27 13:14:03 +00:00
Enable back socket.io polling
This commit is contained in:
parent
5d33c474ec
commit
16cdaa8ed5
2 changed files with 1 additions and 2 deletions
|
@ -195,7 +195,6 @@ export class DockgeServer {
|
|||
// Create Socket.io
|
||||
this.io = new socketIO.Server(this.httpServer, {
|
||||
cors,
|
||||
transports: [ "websocket" ],
|
||||
});
|
||||
|
||||
this.io.on("connection", async (socket: Socket) => {
|
||||
|
|
|
@ -109,7 +109,7 @@ export default defineComponent({
|
|||
}, 1500);
|
||||
|
||||
socket = io(url, {
|
||||
transports: [ "websocket" ]
|
||||
transports: [ "websocket", "polling" ]
|
||||
});
|
||||
|
||||
socket.on("connect", () => {
|
||||
|
|
Loading…
Reference in a new issue