Add name to URI
This commit is contained in:
4
menu.sh
4
menu.sh
@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user