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 9bfa412 commit 4fe19fcCopy full SHA for 4fe19fc
src/sw.js
@@ -44,7 +44,6 @@ self.addEventListener("install", (event) => {
44
self.addEventListener("activate", (event) => {
45
// - [x] clean up outdated runtime cache
46
event.waitUntil(
47
- // clean up those who are not listed in manifestURLs
48
caches.open(cacheName).then((cache) =>
49
// clean up those who are not listed in manifestURLs
50
cache
@@ -93,6 +92,6 @@ setCatchHandler(({ event }) => {
93
92
case "document":
94
return caches.match("/app-shell/index.html");
95
default:
96
- return Response.error();
+ return fetch(event.request);
97
}
98
});
0 commit comments