summaryrefslogtreecommitdiff
path: root/worker.js
diff options
context:
space:
mode:
Diffstat (limited to 'worker.js')
-rw-r--r--worker.js8
1 files changed, 1 insertions, 7 deletions
diff --git a/worker.js b/worker.js
index de1a2e4..f567447 100644
--- a/worker.js
+++ b/worker.js
@@ -40,15 +40,9 @@ const CACHE_URLS = [
'lib/fonts/pmn-caecilia-75.ttf'
];
-/*
self.addEventListener('install', function(event) {
- event.waitUntil(
- caches.open(CACHE_NAME).then(function(cache) {
- return cache.addAll(CACHE_URLS.map((url) => new Request(url, {credentials: 'same-origin'})));
- })
- );
+ self.skipWaiting();
});
-*/
self.addEventListener('activate', function(event) {
event.waitUntil(