Skip to content

Commit d81c3ea

Browse files
authored
add duplex to fetch request (#2382)
1 parent 1a95236 commit d81c3ea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ui/src/routes/orchestrator/github/webhook.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ export const Route = createFileRoute('/orchestrator/github/webhook')({
1010
method: 'POST',
1111
headers: request.headers,
1212
body: request.body,
13+
// @ts-expect-error: 'duplex' is required by Node/undici for streaming bodies
14+
duplex: 'half',
1315
});
1416

1517
return response;

0 commit comments

Comments
 (0)