mirror of
https://github.com/lbl8603/vnts.git
synced 2025-09-26 20:21:27 +08:00
@@ -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);
|
||||||
|
Reference in New Issue
Block a user