mirror of
https://github.com/schroinerxy/Sing-box.git
synced 2026-06-21 20:35:47 +08:00
Update sing-box.sh
This commit is contained in:
+2
-2
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user