mirror of
https://github.com/SuperBFG7/ympd
synced 2025-11-15 20:57:16 +00:00
fix: cache initialisation
This commit is contained in:
@@ -21,7 +21,7 @@ var urlsToCache = [
|
||||
|
||||
self.addEventListener('install', function(event) {
|
||||
event.waitUntil(
|
||||
caches.open(CACHE_NAME).then(function(cache) {
|
||||
caches.open(CACHE).then(function(cache) {
|
||||
return cache.addAll(urlsToCache);
|
||||
})
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user