forked from MapComplete/MapComplete
Fix build
This commit is contained in:
parent
ea1e7e62ef
commit
3a2a8eed9e
2 changed files with 7 additions and 0 deletions
|
|
@ -28,7 +28,9 @@ async function activate() {
|
|||
title: "Some action"
|
||||
}]
|
||||
})*/
|
||||
|
||||
caches.keys().then(keys => {
|
||||
// Remove all old caches
|
||||
Promise.all(
|
||||
keys.map(key => key !== version && caches.delete(key))
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue