feat: remove cozy-reader in ignored cache names for deletion

This commit is contained in:
Ayo Ayco 2025-04-05 09:34:40 +02:00
parent 3c432b3ed4
commit 0f5ac7571a

View file

@ -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)) {