forked from mystiq/hydrogen-web
Return on upload in sw
This commit is contained in:
parent
2afcddbf49
commit
d31371b486
1 changed files with 3 additions and 0 deletions
|
@ -69,6 +69,9 @@ async function purgeOldCaches() {
|
|||
}
|
||||
|
||||
self.addEventListener('fetch', (event) => {
|
||||
if (event.request.url.indexOf("upload") !== -1) {
|
||||
return;
|
||||
}
|
||||
event.respondWith(handleRequest(event.request));
|
||||
});
|
||||
|
||||
|
|
Loading…
Reference in a new issue