Print the binding address when running

This commit is contained in:
videogame hacker 2021-10-25 00:24:56 +01:00
parent 9e49ed1820
commit 4b7ad17588

View file

@ -144,5 +144,7 @@ async fn main() {
.ok() .ok()
.and_then(|s| s.parse::<u16>().ok()) .and_then(|s| s.parse::<u16>().ok())
.unwrap_or(3000); .unwrap_or(3000);
println!("Listening at http://{}:{} ...", &host, &port);
warb::serve(routes).run((host, port)).await; warb::serve(routes).run((host, port)).await;
} }