From b5f3b0b459f28188208c45521683579e704c3ac7 Mon Sep 17 00:00:00 2001 From: Whispering Wind <151555003+ReturnFI@users.noreply.github.com> Date: Mon, 12 Aug 2024 00:35:00 +0330 Subject: [PATCH] Update variables --- core/scripts/hysteria2/show_user_uri.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/scripts/hysteria2/show_user_uri.sh b/core/scripts/hysteria2/show_user_uri.sh index c3269ea..f2a8b35 100644 --- a/core/scripts/hysteria2/show_user_uri.sh +++ b/core/scripts/hysteria2/show_user_uri.sh @@ -5,8 +5,8 @@ source /etc/hysteria/core/scripts/path.sh get_singbox_domain_and_port() { if [ -f "$SINGBOX_ENV" ]; then local domain port - domain=$(grep -E '^hysteria_DOMAIN=' "$SINGBOX_ENV" | cut -d'=' -f2) - port=$(grep -E '^hysteria_PORT=' "$SINGBOX_ENV" | cut -d'=' -f2) + domain=$(grep -E '^HYSTERIA_DOMAIN=' "$SINGBOX_ENV" | cut -d'=' -f2) + port=$(grep -E '^HYSTERIA_PORT=' "$SINGBOX_ENV" | cut -d'=' -f2) echo "$domain" "$port" else echo ""