mirror of
https://github.com/kevin-DL/sapper-template.git
synced 2026-01-17 04:14:57 +00:00
dont await clients.claim()
This commit is contained in:
@@ -26,7 +26,7 @@ self.addEventListener('activate', event => {
|
|||||||
if (key !== ASSETS) await caches.delete(key);
|
if (key !== ASSETS) await caches.delete(key);
|
||||||
}
|
}
|
||||||
|
|
||||||
await self.clients.claim();
|
self.clients.claim();
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user