diff --git a/sw.js b/sw.js index 466331b..6043c3c 100644 --- a/sw.js +++ b/sw.js @@ -3,6 +3,7 @@ const STATIC = ['/', '/index.html', '/manifest.json', '/logo.png', '/atlas.json' self.addEventListener('install', e => { e.waitUntil(caches.open(CACHE).then(c => c.addAll(STATIC))); + self.skipWaiting(); }); self.addEventListener('activate', e => {