Skip to content

Commit

Permalink
Merge pull request #4381 from ChatGPTNextWeb/fred-bf-patch-3
Browse files Browse the repository at this point in the history
patch: disable webdav redirect
  • Loading branch information
fred-bf committed Mar 24, 2024
2 parents ebbd870 + e8d76a5 commit 90af4e3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/api/webdav/[...path]/route.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ async function handle(
authorization: req.headers.get("authorization") ?? "",
},
body: shouldNotHaveBody ? null : req.body,
redirect: 'manual',
method,
// @ts-ignore
duplex: "half",
Expand Down

0 comments on commit 90af4e3

Please sign in to comment.