chore: Log service worker update check
This commit is contained in:
@@ -23,6 +23,7 @@ function Feed({ updateCache }) {
|
||||
if ('serviceWorker' in navigator) {
|
||||
navigator.serviceWorker.getRegistration().then(reg => {
|
||||
if (reg) {
|
||||
console.log('Checking for client update...');
|
||||
reg.update();
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user