workaround sw.js cache.addAll

This commit is contained in:
creeper123123321 2021-09-13 19:26:34 -03:00 committed by GitHub
parent 27e3fd6dec
commit f6be0e380b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -33,7 +33,8 @@ function shouldCache(it) {
}
function cache(urls) {
return caches.open(CACHE).then(cache => cache.addAll(urls.filter(shouldCache)));
// todo fix
//return caches.open(CACHE).then(cache => cache.addAll(urls.filter(shouldCache)));
}
function fromNetwork(request) {