From 0864af9244b551e350dd86b394fdc8b70ec4420d Mon Sep 17 00:00:00 2001 From: Greg Fodor <gfodor@gmail.com> Date: Thu, 18 Oct 2018 16:19:40 +0000 Subject: [PATCH] Remove logging --- src/hub.js | 1 - src/hub.service.js | 2 -- 2 files changed, 3 deletions(-) diff --git a/src/hub.js b/src/hub.js index 8470ce891..78efa464c 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 6531c8a3f..73a51a649 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; } -- GitLab