mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
fix(sw) cache favicon.ico from root (#194)
This commit is contained in:
parent
03fda24c03
commit
421b860da5
1 changed files with 0 additions and 9 deletions
|
|
@ -67,15 +67,6 @@ async function onInstall() {
|
|||
console.info(`cloudcmd: sw: install: ${NAME}`);
|
||||
|
||||
await self.skipWaiting();
|
||||
|
||||
const cache = await caches.open(NAME);
|
||||
|
||||
const urls = [
|
||||
'/favicon.ico',
|
||||
];
|
||||
|
||||
const requests = urls.map(createRequest);
|
||||
return cache.addAll(requests);
|
||||
}
|
||||
|
||||
async function onFetch(event) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue