update
This commit is contained in:
parent
a1a7e53426
commit
a1f63e6d9a
|
@ -40,7 +40,6 @@ function fromNetwork(request, timeout) {
|
||||||
caches.open(CACHE_NAME).then(function (cache) {
|
caches.open(CACHE_NAME).then(function (cache) {
|
||||||
cache.put(event.request, responseToCache);
|
cache.put(event.request, responseToCache);
|
||||||
});
|
});
|
||||||
|
|
||||||
}, reject);
|
}, reject);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user