diff --git a/bin/update_port.sh b/bin/update_port.sh index f0726e4..7cf2914 100644 --- a/bin/update_port.sh +++ b/bin/update_port.sh @@ -50,7 +50,7 @@ change_port(){ source "$script_dir/utils/jq_util.sh" local port=$(find_free_port) - modify_json_file "$config_dir/config/config.json" ".listen" ":$port" + modify_json_file "$config_dir/config.json" ".listen" ":$port" echo "已分配新的空闲端口, 设置端口成功" }