feat: 优化点击等待,补充缺少任务ID的日志等

This commit is contained in:
foxhui
2026-01-16 03:29:13 +08:00
Unverified
parent 3acd8bb17c
commit c0250e43a0
25 changed files with 208 additions and 112 deletions
+5
View File
@@ -58,6 +58,11 @@ const PORT = config.server?.port || 3000;
/** @type {string} 认证令牌 */
const AUTH_TOKEN = config.server?.auth;
// 检测默认密钥
if (AUTH_TOKEN === 'sk-change-me-to-your-secure-key') {
logger.warn('服务器', '检测到默认密钥!如果在公网环境下请修改默认密钥');
}
/** @type {string} 心跳模式 */
const KEEPALIVE_MODE = config.server?.keepalive?.mode || 'comment';