mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:01:26 +08:00
Merge pull request #1312 from LaChimere/user/lachimere/fix-typo
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