Update Session.js

This commit is contained in:
Mitchell McCaffrey 2020-11-27 17:42:53 +11:00
parent 19d44f3f79
commit 1b7b7179ee

View File

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