mirror of
https://git.mirrors.martin98.com/https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-08-16 06:56:01 +08:00
patch: disable webdav redirect
This commit is contained in:
parent
ebbd870150
commit
e8d76a513d
@ -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",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user