mirror of
https://github.com/7836246/cursor2api.git
synced 2026-05-07 06:08:27 +08:00
fix: CHALLENGE_WAIT 增加到 50s
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -17,7 +17,7 @@ const crypto = require('crypto');
|
||||
const PORT = parseInt(process.env.PORT || '3011');
|
||||
const CHALLENGE_URL = process.env.CHALLENGE_URL || 'https://cursor.com/cn/docs';
|
||||
const REFRESH_INTERVAL = parseInt(process.env.REFRESH_INTERVAL || '3000000'); // 50 分钟
|
||||
const CHALLENGE_WAIT = parseInt(process.env.CHALLENGE_WAIT || '30000'); // challenge 最长等待时间
|
||||
const CHALLENGE_WAIT = parseInt(process.env.CHALLENGE_WAIT || '50000'); // challenge 最长等待时间
|
||||
|
||||
let browser, context, challengePage, workerPage;
|
||||
let ready = false;
|
||||
|
||||
Reference in New Issue
Block a user