From ce23a232dd9be722b8f380bb6a0c34fc315c966b Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Mon, 17 Jun 2024 08:57:18 +0330 Subject: [PATCH] Update URI --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 80eb71f..7df26bb 100644 --- a/install.sh +++ b/install.sh @@ -99,8 +99,8 @@ if systemctl is-active --quiet hysteria-server.service; then echo "Generating URI Scheme..." IP=$(curl -4 ip.sb) IP6=$(curl -6 ip.sb) - URI="hy2://default:$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv4" - URI6="hy2://default:$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv6" + URI="hy2://default%3A$authpassword@$IP:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv4" + URI6="hy2://default%3A$authpassword@[$IP6]:$port?obfs=salamander&obfs-password=$obfspassword&pinSHA256=$sha256&insecure=1&sni=bts.com#Hysteria2-IPv6" # Step 15: Generate and display QR Code in the center of the terminal cols=$(tput cols) rows=$(tput lines)