mirror of https://github.com/dirtbags/moth.git
Removing unecessary logging
This commit is contained in:
parent
18ee0ab3a2
commit
54ff708c5b
|
@ -1,8 +1,6 @@
|
|||
function pwa_init() {
|
||||
console.log("Starting service worker");
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.register("./sw.js").then(function(reg) {
|
||||
console.log("Successfully registered service worker", reg);
|
||||
}).catch(function(err) {
|
||||
console.warn("Error while registering service worker", err);
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue