diff --git a/serv00.sh b/serv00.sh index ea60bf9..a194090 100644 --- a/serv00.sh +++ b/serv00.sh @@ -1160,9 +1160,9 @@ yellow "当前Argo临时域名暂时不存在,后台会继续生成有效的 fi if ps aux | grep [t]oken > /dev/null; then argogd=$(cat $WORKDIR/gdym.log 2>/dev/null) -checkhttp=$(curl -o /dev/null -s -w "%{http_code}\n" "https://$argogd") -[ "$checkhttp" -eq 404 ] && check="域名有效" || check="域名可能无效" -green "当前Argo固定域名:$argogd $check" +checkhttp=$(curl --max-time 2 -o /dev/null -s -w "%{http_code}\n" "https://$argogd") +[ "$checkhttp" -eq 404 ] && check="域名有效" || check="域名可能失效" +green "当前Argo固定域名:$argogd $check" fi if [ ! -f "$WORKDIR/boot.log" ] && ! ps aux | grep [t]oken > /dev/null; then yellow "当前Argo固定域名:$(cat $WORKDIR/gdym.log 2>/dev/null),请检查相关参数是否输入有误,建议卸载重装"