forked from XiaoMo/ChatGPT-Next-Web
Merge pull request #859 from Yidadaa/Yidadaa-patch-1
fix: #853 fetch duplex errors
This commit is contained in:
commit
e49acda806
@ -17,7 +17,7 @@ async function makeRequest(req: NextRequest) {
|
||||
},
|
||||
{
|
||||
status: 500,
|
||||
},
|
||||
}
|
||||
);
|
||||
}
|
||||
}
|
||||
@ -29,3 +29,7 @@ export async function POST(req: NextRequest) {
|
||||
export async function GET(req: NextRequest) {
|
||||
return makeRequest(req);
|
||||
}
|
||||
|
||||
export const config = {
|
||||
runtime: "edge",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user