From e8d76a513dbe5debbe747677154c0f6141380421 Mon Sep 17 00:00:00 2001 From: fred-bf <157469842+fred-bf@users.noreply.github.com> Date: Sun, 24 Mar 2024 14:15:04 +0800 Subject: [PATCH] patch: disable webdav redirect --- app/api/webdav/[...path]/route.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/api/webdav/[...path]/route.ts b/app/api/webdav/[...path]/route.ts index 81ede0fd870..56c2388aed0 100644 --- a/app/api/webdav/[...path]/route.ts +++ b/app/api/webdav/[...path]/route.ts @@ -101,6 +101,7 @@ async function handle( authorization: req.headers.get("authorization") ?? "", }, body: shouldNotHaveBody ? null : req.body, + redirect: 'manual', method, // @ts-ignore duplex: "half",