Revert "Add extra header options to socket io request"
This reverts commit fdb5d8c458
.
This commit is contained in:
parent
fdb5d8c458
commit
8f3ebb8316
@ -58,14 +58,7 @@ class Session extends EventEmitter {
|
||||
constructor() {
|
||||
super();
|
||||
this.socket = io(process.env.REACT_APP_BROKER_URL, {
|
||||
transports: ["polling", "websocket"],
|
||||
transportOptions: {
|
||||
polling: {
|
||||
extraHeaders: {
|
||||
"Cookie":"session-persist"
|
||||
}
|
||||
}
|
||||
}
|
||||
transports: ["websocket"],
|
||||
});
|
||||
|
||||
this.socket.on(
|
||||
|
Loading…
Reference in New Issue
Block a user