Skip to content

Commit

Permalink
fix: use console.info instead of console.log for sw registration
Browse files Browse the repository at this point in the history
  • Loading branch information
julianlam committed Oct 5, 2020
1 parent ba906d7 commit 3c7f79c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/src/app.js
Expand Up @@ -761,9 +761,9 @@ app.cacheBuster = null;
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/service-worker.js')
.then(function () {
console.log('ServiceWorker registration succeeded.');
console.info('ServiceWorker registration succeeded.');
}).catch(function (err) {
console.log('ServiceWorker registration failed: ', err);
console.info('ServiceWorker registration failed: ', err);
});
}
}
Expand Down

0 comments on commit 3c7f79c

Please sign in to comment.