From 3f5c3eb348de53a0965c93049ae4cf14fbd66c07 Mon Sep 17 00:00:00 2001 From: Olia Lisa Date: Sun, 23 Nov 2025 13:49:20 +0800 Subject: [PATCH] fix bug --- bin/update_port.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/update_port.sh b/bin/update_port.sh index 23fc590..90b9ae1 100644 --- a/bin/update_port.sh +++ b/bin/update_port.sh @@ -50,7 +50,7 @@ update_port(){ source "$script_dir/utils/jq_util.sh" local port=$(find_free_port) - modify_json_file "$config_dir/config.json" ".listen" ":$port" + modify_json_file "$config_dir/config.json" ".inbounds[0].port" "$port" echo "设置端口成功" }