mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-11 04:27:40 +01:00
Return on upload in sw
This commit is contained in:
parent
2afcddbf49
commit
d31371b486
@ -69,6 +69,9 @@ async function purgeOldCaches() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
self.addEventListener('fetch', (event) => {
|
self.addEventListener('fetch', (event) => {
|
||||||
|
if (event.request.url.indexOf("upload") !== -1) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
event.respondWith(handleRequest(event.request));
|
event.respondWith(handleRequest(event.request));
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user