forked from XiaoMo/ChatGPT-Next-Web
Fixup Api Common [Server Side] [Console Log]
- [+] fix(common.ts): fix condition to check if serverConfig.openaiOrgId is not undefined
This commit is contained in:
parent
f9258878db
commit
f9d916925e
@ -31,7 +31,7 @@ export async function requestOpenai(req: NextRequest) {
|
|||||||
console.log("[Proxy] ", path);
|
console.log("[Proxy] ", path);
|
||||||
console.log("[Base Url]", baseUrl);
|
console.log("[Base Url]", baseUrl);
|
||||||
// this fix [Org ID] undefined in server side if not using custom point
|
// this fix [Org ID] undefined in server side if not using custom point
|
||||||
if (serverConfig.openaiOrgId) {
|
if (serverConfig.openaiOrgId !== undefined) {
|
||||||
console.log("[Org ID]", serverConfig.openaiOrgId);
|
console.log("[Org ID]", serverConfig.openaiOrgId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user