diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index f59b310..989b7ef 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -53,6 +53,7 @@ const appTitle = article?.title ? `${article.title} | Cozy` : 'Cozy'; // check to see if there is a current active service worker const oldSw = (await navigator.serviceWorker.getRegistration())?.active?.state; + console.log('>>> old sw', oldSw); navigator.serviceWorker.addEventListener('controllerchange', async () => { if (refreshing) return;