This commit is contained in:
TLRZ Seyfferth 2018-01-24 18:03:23 +01:00
parent 81453f965a
commit 79c4d7154c

View File

@ -34,7 +34,7 @@ self.addEventListener('install', function(event){
return caches.open(myCache.name)
.then(function (cache){
console.log("[Cache] opened: ", myCache.name);
return caches.addAll(myCache.urls);
return cache.addAll(myCache.urls);
});
})
))