Update sing-box.sh

This commit is contained in:
eooce
2024-08-27 14:45:15 +08:00
committed by GitHub
parent 787ca25d62
commit 227362f550
+2 -2
View File
@@ -534,8 +534,8 @@ get_info() {
isp=$(curl -s https://speed.cloudflare.com/meta | awk -F\" '{print $26"-"$18}' | sed -e 's/ /_/g')
argodomain=$(grep -oE 'https://[[:alnum:]+\.-]+\.trycloudflare\.com' "${work_dir}/argo.log" | sed 's@https://@@')
argodomain=$(sed -n 's|.*https://\([^/]*trycloudflare\.com\).*|\1|p' "${work_dir}/argo.log") || true
[ -z "$argodomain" ] && argodomain=$(grep -oP '(?<=https://)[^\s]+trycloudflare\.com' "${work_dir}/argo.log")
echo -e "${green}\nArgoDomain${re}${purple}$argodomain${re}"
yellow "\n温馨提醒:如节点不通,请打开V2rayN里的 “跳过证书验证”,或将节点的跳过证书验证设置为“true”\n"