commiting a but load of content huehue

This commit is contained in:
wompmacho
2020-11-09 19:39:47 -05:00
parent b1e7384254
commit cdccb41c0c
56 changed files with 4471 additions and 10626 deletions

View File

@@ -73,11 +73,11 @@ self.addEventListener('fetch', event => {
// for pages, you might want to serve a shell `service-worker-index.html` file,
// which Sapper has generated for you. It's not right for every
// app, but if it's right for yours then uncomment this section
/*
if (!cachedAsset && url.origin === self.origin && routes.find(route => route.pattern.test(url.pathname))) {
return caches.match('/service-worker-index.html');
}
*/
// if (!cachedAsset && url.origin === self.origin && routes.find(route => route.pattern.test(url.pathname))) {
// return caches.match('/service-worker-index.html');
// }
return cachedAsset || fetchAndCache(event.request);
})()