Skip to content

Commit

Permalink
♻️ chore: fix return result
Browse files Browse the repository at this point in the history
  • Loading branch information
yunsii committed Mar 15, 2024
1 parent f5c19cb commit 67ade01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/worker/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ async function handleFetchEvent(event: FetchEvent) {
name: 'Google',
followRedirect: true,
}, true)
event.waitUntil(Promise.allSettled(notifications))
event.respondWith(new Response('OK'))
await (Promise.allSettled(notifications))
return new Response('OK')
}

if (!isAssetUrl(url)) {
Expand Down

0 comments on commit 67ade01

Please sign in to comment.