From 40a1ff2754a6180221acc2d06c1a8ad68547a342 Mon Sep 17 00:00:00 2001 From: H-Return <151555003+H-Return@users.noreply.github.com> Date: Wed, 5 Jun 2024 20:59:19 +0000 Subject: [PATCH] Add name to URI --- menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/menu.sh b/menu.sh index 1324eec..8531ef0 100644 --- a/menu.sh +++ b/menu.sh @@ -76,8 +76,8 @@ show_uri() { IP6=$(curl -s -6 ip.sb) # Construct URI - URI="hy2://$username:$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv4" - URI6="hy2://$username:$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv6" + URI="hy2://$username:$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv4" + URI6="hy2://$username:$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv6" cols=$(tput cols) rows=$(tput lines)