diff --git a/src/sw.mjs b/src/sw.mjs index 9290e6a..e8b8695 100644 --- a/src/sw.mjs +++ b/src/sw.mjs @@ -7,7 +7,7 @@ const cacheName = `${__prefix ?? 'app'}-v${__version ?? '000'}` const forceLogging = true const cleanOldCaches = async () => { - const allowCacheNames = ['cozy-reader', cacheName] + const allowCacheNames = [cacheName] const allCaches = await caches.keys() allCaches.forEach((key) => { if (!allowCacheNames.includes(key)) {