mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-08 19:38:36 +01:00
workaround sw.js cache.addAll
This commit is contained in:
parent
27e3fd6dec
commit
f6be0e380b
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user