Skip to content

Commit

Permalink
fix: specify duplex half again
Browse files Browse the repository at this point in the history
  • Loading branch information
Percslol committed Nov 18, 2024
1 parent 2e84592 commit 1696cfa
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/worker/fetch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,8 @@ export async function handleFetch(
method: ev.method,
body: ev.body,
headers: ev.requestHeaders,
//@ts-expect-error no types
duplex: request.duplex,
}));

return await handleResponse(
Expand Down

0 comments on commit 1696cfa

Please sign in to comment.