Skip to content

Commit

Permalink
src: lib: web: use web-server CLI arg value to run the server
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoantoniocardoso committed Nov 13, 2024
1 parent abc4888 commit 3c5012f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:?})");
Expand Down

0 comments on commit 3c5012f

Please sign in to comment.