Update URI Scheme

This commit is contained in:
Whispering Wind
2024-06-23 00:15:28 +03:30
committed by GitHub
parent a82d176351
commit c075ec9ff3

View File

@ -129,8 +129,8 @@ show_uri() {
obfspassword=$(jq -r '.obfs.salamander.password' /etc/hysteria/config.json)
# Get IP addresses
IP=$(curl -s -4 ip.sb)
IP6=$(curl -s -6 ip.sb)
IP=$(curl -s -4 ip.gs)
IP6=$(curl -s -6 ip.gs)
# Construct URI
URI="hy2://$username%3A$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#$username-IPv4"