test
This commit is contained in:
parent
d44d5bdae3
commit
62ae5335d8
@ -25,8 +25,7 @@ self.addEventListener('install', function(event){
|
|||||||
console.log("[Cache] opened: ", APP_SHELL_CACHE);
|
console.log("[Cache] opened: ", APP_SHELL_CACHE);
|
||||||
return cache.addAll(APP_SHELL_URLS);
|
return cache.addAll(APP_SHELL_URLS);
|
||||||
})
|
})
|
||||||
).waitUntil(
|
.open(APP_DATA_CACHE)
|
||||||
caches.open(APP_DATA_CACHE)
|
|
||||||
.then(function(cache){
|
.then(function(cache){
|
||||||
console.log("[Cache] opened: ", APP_DATA_CACHE);
|
console.log("[Cache] opened: ", APP_DATA_CACHE);
|
||||||
return cache.addAll(APP_DATA_URLS);
|
return cache.addAll(APP_DATA_URLS);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user