Skip to content

Commit 97193ae

Browse files
committed
Fix fetch
1 parent 1615549 commit 97193ae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ export default function handleRequest(req, res) {
154154
redirect: 'manual',
155155
headers,
156156
body: req.method !== 'GET' && req.method !== 'HEAD' ? req : undefined,
157+
duplex: 'half',
157158
})
158159
.then((f) => {
159160
if (f.headers.has('location')) {

0 commit comments

Comments
 (0)