mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 08:07:34 +08:00
fix: #2061 RequestInit TypeError
This commit is contained in:
@@ -43,6 +43,8 @@ export async function requestOpenai(req: NextRequest) {
|
||||
cache: "no-store",
|
||||
method: req.method,
|
||||
body: req.body,
|
||||
// @ts-ignore
|
||||
duplex: "half",
|
||||
signal: controller.signal,
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user