diff --git a/src/hub.js b/src/hub.js index 8470ce8916d149bf384088ea90a2c4211dc4c005..78efa464c17babe257339f2c39a18c1b99d5c873 100644 --- a/src/hub.js +++ b/src/hub.js @@ -306,7 +306,6 @@ async function runBotMode(scene, entryManager) { } document.addEventListener("DOMContentLoaded", async () => { - // Connect to reticulum over phoenix channels to get hub info. const hubId = qs.get("hub_id") || document.location.pathname.substring(1).split("/")[0]; console.log(`Hub ID: ${hubId}`); diff --git a/src/hub.service.js b/src/hub.service.js index 6531c8a3f5c1478bbe254e819968128750c7c3a6..73a51a649b07c95425d98c389b0b848a56070968 100644 --- a/src/hub.service.js +++ b/src/hub.service.js @@ -13,8 +13,6 @@ self.addEventListener("push", function(e) { self.clients.matchAll({ type: "window" }).then(function(clientList) { for (let i = 0; i < clientList.length; i++) { const client = clientList[i]; - console.log(client.url); - console.log(e.notification.data); if (client.url.indexOf(e.notification.data.hub_id) >= 0) return; }