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
1 changed files with 2 additions and 0 deletions

View File

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