From 33d08ac85d25cb40ec049aa635676538f9d7fcf2 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Mon, 20 Jul 2026 11:28:44 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20old=5Fdest=E5=B1=95=E7=A4=BA=E6=97=B6?= =?UTF-8?q?=E6=94=B9=E4=B8=BA=E5=8F=AA=E6=98=BE=E7=A4=BA=E5=9F=9F=E5=90=8D?= =?UTF-8?q?,?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/update_reality_dest.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update_reality_dest.sh b/bin/update_reality_dest.sh index c60d395..1a8d278 100644 --- a/bin/update_reality_dest.sh +++ b/bin/update_reality_dest.sh @@ -6,7 +6,7 @@ update_reality_dest(){ # 获取当前dest值 local old_dest=$(jq -r '.inbounds[0].streamSettings.realitySettings.dest' "$config_dir/config.json") - + old_dest="${old_dest%:*}" # 输入新的dest地址 local dest read -p "请输入新的dest地址[当前地址: $old_dest]: " dest