mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 08:07:34 +08:00
fix: fix upstash sync issue
This commit is contained in:
@@ -80,7 +80,7 @@ async function handle(
|
||||
|
||||
const targetUrl = `${protocol}://${endpoint + endpointPath}`;
|
||||
|
||||
const method = req.headers.get("method") ?? undefined;
|
||||
const method = req.method;
|
||||
const shouldNotHaveBody = ["get", "head"].includes(
|
||||
method?.toLowerCase() ?? "",
|
||||
);
|
||||
|
Reference in New Issue
Block a user