mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-19 23:26:31 +08:00
fix typo
This commit is contained in:
@@ -26,7 +26,7 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!authValue || !authValue.startsWith("Bearer sk-")) {
|
if (!authValue || !authValue.startsWith("Bearer sk-")) {
|
||||||
console.error("[OpenAI Request] invlid api key provided", authValue);
|
console.error("[OpenAI Request] invalid api key provided", authValue);
|
||||||
}
|
}
|
||||||
|
|
||||||
return fetch(`${baseUrl}/${openaiPath}`, {
|
return fetch(`${baseUrl}/${openaiPath}`, {
|
||||||
|
Reference in New Issue
Block a user