mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-10-02 08:06:38 +08:00
merge
This commit is contained in:
parent
5b1f0355ce
commit
f977c52859
@ -59,11 +59,11 @@ function getApiKey(keys?: string) {
|
||||
const randomIndex = Math.floor(Math.random() * apiKeys.length);
|
||||
const apiKey = apiKeys[randomIndex];
|
||||
if (apiKey) {
|
||||
console.log(
|
||||
`[Server Config] using ${randomIndex + 1} of ${
|
||||
apiKeys.length
|
||||
} api key - ${apiKey}`,
|
||||
);
|
||||
// console.log(
|
||||
// `[Server Config] using ${randomIndex + 1} of ${
|
||||
// apiKeys.length
|
||||
// } api key - ${apiKey}`,
|
||||
// );
|
||||
}
|
||||
|
||||
return apiKey;
|
||||
|
Loading…
Reference in New Issue
Block a user