Update index.js
Browse files
index.js
CHANGED
@@ -12,11 +12,11 @@ dotenv.config();
|
|
12 |
*/
|
13 |
class Config {
|
14 |
constructor() {
|
|
|
|
|
|
|
15 |
this.initializeApiKeys();
|
16 |
this.initializeAuth();
|
17 |
-
|
18 |
-
// 主API Key池 (可用于新请求)
|
19 |
-
this.apiKeys = []; // This will be filled by initializeApiKeys
|
20 |
|
21 |
// 已使用的API Key池 (成功请求后放入,用于循环使用)
|
22 |
this.usedApiKeys = [];
|
|
|
12 |
*/
|
13 |
class Config {
|
14 |
constructor() {
|
15 |
+
// 主API Key池 (可用于新请求)
|
16 |
+
this.apiKeys = [];
|
17 |
+
|
18 |
this.initializeApiKeys();
|
19 |
this.initializeAuth();
|
|
|
|
|
|
|
20 |
|
21 |
// 已使用的API Key池 (成功请求后放入,用于循环使用)
|
22 |
this.usedApiKeys = [];
|