Added polling transport to socket io

This commit is contained in:
Nicola Thouliss 2020-11-22 10:42:46 +11:00
parent 575b566b53
commit 9c91507eb3

View File

@ -58,7 +58,7 @@ class Session extends EventEmitter {
constructor() {
super();
this.socket = io(process.env.REACT_APP_BROKER_URL, {
transports: ["websocket"],
transports: ["polling", "websocket"],
});
this.socket.on(