Update cf-tunnel.sh

This commit is contained in:
starry
2025-08-11 02:48:27 +08:00
committed by GitHub
parent 857df6780d
commit 18ad944345

View File

@@ -66,7 +66,7 @@ if [[ "$MODE" == "1" ]]; then
echo -e "${YELLOW}等待 cloudflared 输出访问域名...${NC}"
for i in {1..30}; do
for i in {1..60}; do
DOMAIN=$(grep -oP 'https://[a-zA-Z0-9-]+\.trycloudflare\.com' "$LOGFILE" | head -n1)
if [[ -n "$DOMAIN" ]]; then
echo ""