mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: use console.info instead of console.log for sw registration
This commit is contained in:
@@ -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);
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user