debug: log refreshing block

This commit is contained in:
Ayo Ayco 2024-08-18 11:00:57 +02:00
parent 797f01d9d7
commit 500d270858

View file

@ -65,7 +65,8 @@ const appTitle = article?.title ? `${article.title} | Cozy` : 'Cozy';
// if there was already an old activated service worker, and a new activating service worker, do the reload
if(oldSw === 'activated' && newSw === 'activating') {
refreshing = true;
window.location.reload();
// window.location.reload();
console.log('>>> refreshing... not')
}
});
}