From 391cfe628bbf320c0af60db4173234342e2e16a3 Mon Sep 17 00:00:00 2001 From: ayoayco Date: Fri, 2 Aug 2024 17:26:53 +0200 Subject: [PATCH] feat: remove unregister logic --- public/sw.js | 1 + src/pages/index.astro | 8 -------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/public/sw.js b/public/sw.js index c5e1bdc..ea45902 100644 --- a/public/sw.js +++ b/public/sw.js @@ -1,3 +1,4 @@ + const addResourcesToCache = async (resources) => { const cache = await caches.open('cozy-reader-app-v1'); console.log('adding resources to cache...', resources) diff --git a/src/pages/index.astro b/src/pages/index.astro index 2a0e34d..3c8727f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -40,14 +40,6 @@ if (url)