Add name to URI

This commit is contained in:
H-Return
2024-06-05 20:59:19 +00:00
parent 85944c2e7b
commit 40a1ff2754

View File

@ -76,8 +76,8 @@ show_uri() {
IP6=$(curl -s -6 ip.sb) IP6=$(curl -s -6 ip.sb)
# Construct URI # Construct URI
URI="hy2://$username:$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv4" 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#Hysteria2-IPv6" URI6="hy2://$username:$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv6"
cols=$(tput cols) cols=$(tput cols)
rows=$(tput lines) rows=$(tput lines)