Merge pull request #4381 from ChatGPTNextWeb/fred-bf-patch-3

patch: disable webdav redirect
This commit is contained in:
fred-bf
2024-03-24 14:17:11 +08:00
committed by GitHub

View File

@@ -101,6 +101,7 @@ async function handle(
authorization: req.headers.get("authorization") ?? "", authorization: req.headers.get("authorization") ?? "",
}, },
body: shouldNotHaveBody ? null : req.body, body: shouldNotHaveBody ? null : req.body,
redirect: 'manual',
method, method,
// @ts-ignore // @ts-ignore
duplex: "half", duplex: "half",