mirror of
https://github.com/vector-im/hydrogen-web.git
synced 2025-01-31 22:51:39 +01:00
No need for handler to be async
This commit is contained in:
parent
c1a8ffd814
commit
57e2c4ea45
@ -68,7 +68,7 @@ async function purgeOldCaches() {
|
||||
}
|
||||
}
|
||||
|
||||
self.addEventListener('fetch', async (event) => {
|
||||
self.addEventListener('fetch', (event) => {
|
||||
if (event.request.method === "GET") {
|
||||
event.respondWith(handleRequest(event.request));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user