fix: skip waiting on caches on sw

This commit is contained in:
Jean-Baptiste Pasquier 2020-10-28 17:31:43 +01:00
parent 3e4cff299e
commit 7f970ff899

View File

@ -11,8 +11,8 @@ self.addEventListener('install', function (e) {
'/index.html', '/index.html',
'/' '/'
]); ]);
}) }).then(() => e.skipWaiting())
).then(() => e.skipWaiting()); );
}); });
self.addEventListener('activate', function (e) { self.addEventListener('activate', function (e) {