From 37353ee6dd10c4939245d3cdf39d534b8ffad92a Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Mon, 29 Dec 2025 23:33:26 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=9E=84=E4=BB=A3=E7=A0=81,=20?= =?UTF-8?q?=E6=8A=BD=E5=8F=96=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/print_share_link.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/print_share_link.sh b/bin/print_share_link.sh index ffd14f9..7193ee2 100644 --- a/bin/print_share_link.sh +++ b/bin/print_share_link.sh @@ -26,7 +26,7 @@ print_share_link() { local port=$(echo "$config" | jq -r '.inbounds[0].listen_port') local password=$(echo "$config" | jq -r '.inbounds[0].users[0].password') local congestion_control=$(echo "$config" | jq -r '.inbounds[0].congestion_control') - + local allowInsecure=1 # 检查sni if [ "$sni" = "你的域名或伪装域名" ] || [ -z "$sni" ] || [[ "$sni" == null ]]; then @@ -34,7 +34,7 @@ print_share_link() { fi # 构建分享链接 - local share_link="tuic://$uuid:$password@$ipv4:$port?sni=$sni&alpn=h3&insecure=1&allowInsecure=1&congestion_control=bbr#Tuic节点" + local share_link="tuic://$uuid:$password@$ipv4:$port?sni=$sni&alpn=h3&insecure=1&allowInsecure=$allowInsecure&congestion_control=bbr#Tuic节点" # 输出分享链接 echo -e "\033[32m"