From 3c5012ffc437a20cc3cfaf64e964c7bcb3c72a54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20Ant=C3=B4nio=20Cardoso?= Date: Tue, 12 Nov 2024 21:39:19 -0300 Subject: [PATCH] src: lib: web: use web-server CLI arg value to run the server --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index cabec6b7..bfedf699 100644 --- a/src/main.rs +++ b/src/main.rs @@ -14,7 +14,7 @@ async fn main() -> Result<()> { hub::add_driver(driver).await?; } - web::run("0.0.0.0:8080".parse().unwrap()).await; + web::run(cli::web_server()).await; for (id, driver_info) in hub::drivers().await? { debug!("Removing driver id {id:?} ({driver_info:?})");