Added polling transport to socket io
This commit is contained in:
parent
575b566b53
commit
9c91507eb3
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user