超时时间增加至60秒

This commit is contained in:
starry
2025-08-11 02:57:25 +08:00
committed by GitHub
parent 5ffbbd791b
commit 88c0f8d458

View File

@@ -137,7 +137,7 @@ if [[ "$MODE" == "1" ]]; then
echo -e "${YELLOW}等待 cloudflared 输出访问域名...${NC}"
for i in {1..30}; do
for i in {1..60}; do
# BSD grep 无 -P用 -E 实现扩展正则
DOMAIN=$(grep -Eo 'https://[A-Za-z0-9-]+\.trycloudflare\.com' "$LOGFILE" | head -n1)
if [[ -n "$DOMAIN" ]]; then