mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Remove scripts from service worker cache
This commit is contained in:
parent
dc21b9f412
commit
86993f93b4
1 changed files with 2 additions and 5 deletions
|
|
@ -180,11 +180,8 @@
|
|||
})
|
||||
|
||||
globalApi.addEventListener('fetch', (ev) => {
|
||||
try {
|
||||
console.log('request type: ', ev.request)
|
||||
// if (requestUrl.startsWith(currentOrigin)
|
||||
} catch (err) {
|
||||
console.log('fetch request error: ', err)
|
||||
if (ev.request.destination === 'script') {
|
||||
return
|
||||
}
|
||||
|
||||
const handler = handleFetchRequest(ev)
|
||||
|
|
|
|||
Loading…
Reference in a new issue