Update Session.js

This commit is contained in:
Mitchell McCaffrey 2020-11-27 18:31:21 +11:00
parent 1b7b7179ee
commit ceb987d4fc

View File

@ -73,7 +73,7 @@ class Session extends EventEmitter {
async connect() {
try {
const response = await fetch(process.env.REACT_APP_ICE_SERVERS_URL);
console.log(response);
response.headers.forEach(console.log);
if (!response.ok) {
throw Error("Unable to fetch ICE servers");
}