Added polling transport to socket io
This commit is contained in:
parent
575b566b53
commit
9c91507eb3
@ -58,7 +58,7 @@ class Session extends EventEmitter {
|
|||||||
constructor() {
|
constructor() {
|
||||||
super();
|
super();
|
||||||
this.socket = io(process.env.REACT_APP_BROKER_URL, {
|
this.socket = io(process.env.REACT_APP_BROKER_URL, {
|
||||||
transports: ["websocket"],
|
transports: ["polling", "websocket"],
|
||||||
});
|
});
|
||||||
|
|
||||||
this.socket.on(
|
this.socket.on(
|
||||||
|
Loading…
Reference in New Issue
Block a user