fix bug
This commit is contained in:
parent
8adfd590fa
commit
3f5c3eb348
@ -50,7 +50,7 @@ update_port(){
|
|||||||
source "$script_dir/utils/jq_util.sh"
|
source "$script_dir/utils/jq_util.sh"
|
||||||
|
|
||||||
local port=$(find_free_port)
|
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 "设置端口成功"
|
echo "设置端口成功"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user