refactor: 修改函数名称
This commit is contained in:
+1
-1
@@ -92,6 +92,6 @@ ask_update_port(){
|
||||
local config_file="$script_dir/../conf/config.json"
|
||||
|
||||
local current_port=$(jq -r '.inbounds[0].port' "$config_file")
|
||||
local new_port=$(ask_update "请输入新的端口号" "$current_port")
|
||||
local new_port=$(ask_input "请输入新的端口号" "$current_port")
|
||||
update_port "$new_port"
|
||||
}
|
||||
Reference in New Issue
Block a user