Merge pull request #51 from vnt-dev/vnt-dev-patch-1

Update main.rs
This commit is contained in:
vnt-dev
2025-09-17 10:04:18 +08:00
committed by GitHub

View File

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