mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 11:03:49 +08:00
patch: disable webdav redirect
This commit is contained in:
@@ -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",
|
||||||
|
Reference in New Issue
Block a user