From 4b7ad17588bbe043f3e3ee7ff056ca1ab91e2e29 Mon Sep 17 00:00:00 2001 From: videogame hacker Date: Mon, 25 Oct 2021 00:24:56 +0100 Subject: [PATCH] Print the binding address when running --- src/main.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.rs b/src/main.rs index 8b0fbba..4ae840a 100644 --- a/src/main.rs +++ b/src/main.rs @@ -144,5 +144,7 @@ async fn main() { .ok() .and_then(|s| s.parse::().ok()) .unwrap_or(3000); + + println!("Listening at http://{}:{} ...", &host, &port); warb::serve(routes).run((host, port)).await; }