gemercheung 3 anni fa
parent
commit
555ee5dab2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/core/io.js

+ 1 - 1
src/core/io.js

@@ -22,7 +22,7 @@ const io = new Server(httpServer, {
   pingInterval: 10000,
   pingTimeout: 5000,
   parser: customParser,
-  transports: ["websocket"]
+  transports: ["websocket", "polling"],
 });
 
 instrument(io, {