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
1 changed files with 2 additions and 2 deletions

View File

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