Update Session.js

This commit is contained in:
Mitchell McCaffrey 2020-11-27 19:28:42 +11:00
parent dc46fceb4c
commit 5f572ff10d

View File

@ -73,7 +73,6 @@ class Session extends EventEmitter {
async connect() {
try {
const response = await fetch(process.env.REACT_APP_ICE_SERVERS_URL);
response.headers.forEach(console.log);
if (!response.ok) {
throw Error("Unable to fetch ICE servers");
}
@ -81,7 +80,6 @@ class Session extends EventEmitter {
this._iceServers = data.iceServers;
this.socket = io(process.env.REACT_APP_BROKER_URL, {
// transports: ["websocket"],
withCredentials: true,
});