diff --git a/serviceWorker.js b/serviceWorker.js index be0d0f5..7aa1495 100644 --- a/serviceWorker.js +++ b/serviceWorker.js @@ -25,8 +25,7 @@ self.addEventListener('install', function(event){ console.log("[Cache] opened: ", APP_SHELL_CACHE); return cache.addAll(APP_SHELL_URLS); }) - ).waitUntil( - caches.open(APP_DATA_CACHE) + .open(APP_DATA_CACHE) .then(function(cache){ console.log("[Cache] opened: ", APP_DATA_CACHE); return cache.addAll(APP_DATA_URLS);