From 255af19287ecc35e78673a543ec42b6db3490f56 Mon Sep 17 00:00:00 2001 From: vincent Date: Thu, 16 May 2024 12:22:45 +0800 Subject: [PATCH] update --- bin/print_share_link.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/print_share_link.sh b/bin/print_share_link.sh index 522edcf..ff6a720 100644 --- a/bin/print_share_link.sh +++ b/bin/print_share_link.sh @@ -17,7 +17,7 @@ config=$(cat "$script_dir/../config.json") password=$(echo "$config" | jq -r '.auth.password') sni=$(echo "$config" | jq -r '.masquerade.proxy.url' | awk -F'/' '{print $3}') ipv4=$(curl -4 -sSL --connect-timeout 3 --retry 2 ip.sb || echo "null") # 本机IPV4地址 -port=$(echo "$config" | jq -r '.listen' | cut -d':' -f2) +port=$(echo "$config" | jq -r '.listen' | cut -d':' -f2) # 端口号 # 构建分享链接 share_link="hysteria2://${password}@${ipv4}:${port}/?sni=${sni}&insecure=1#${ipv4}"