Update main.rs

This commit is contained in:
vnt-dev
2025-09-17 10:03:39 +08:00
committed by GitHub
parent ed96261fbe
commit 3197a82e2c

View File

@@ -180,6 +180,7 @@ async fn main() {
let root_path = app_root();
log_init(root_path.clone(), args.log_path);
let port = args.port.unwrap_or(29872);
let host = args.host;
#[cfg(feature = "web")]
let web_port = {
let web_port = args.web_port.unwrap_or(29870);