We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 013dc6b commit 8410cc2Copy full SHA for 8410cc2
1 file changed
src/sw.js
@@ -51,8 +51,8 @@ self.addEventListener("install", (event) => {
51
});
52
self.addEventListener("activate", (event) => {
53
event.waitUntil(
54
- // clean up those who are not listed in manifestURLs
55
caches.open(cacheName).then((cache) =>
+ // clean up those who are not listed in manifestURLs
56
cache.keys().then((keys) => {
57
for (const request of keys) {
58
if (!manifestURLs.includes(request.url)) {
0 commit comments