Skip to content

Commit

Permalink
patch: disable webdav redirect
Browse files Browse the repository at this point in the history
  • Loading branch information
fred-bf authored Mar 24, 2024
1 parent ebbd870 commit e8d76a5
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 e8d76a5

Please sign in to comment.