fix: use console.info instead of console.log for sw registration

v1.18.x
Julian Lam 4 years ago
parent ba906d7d02
commit 3c7f79cb8a

@ -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);
});
}
}

Loading…
Cancel
Save