Add skipWay to sw
This commit is contained in:
parent
ef6c37005f
commit
325b3aead3
@ -16,6 +16,7 @@ var urlsToCache = [
|
||||
|
||||
self.addEventListener('install', function (event) {
|
||||
// Perform install steps
|
||||
self.skipWaiting();
|
||||
event.waitUntil(
|
||||
caches.open(CACHE_NAME)
|
||||
.then(function (cache) {
|
||||
|
Loading…
Reference in New Issue
Block a user