Add a print to announce the server is running.

This commit is contained in:
Tom Alexander
2023-08-18 22:32:01 -04:00
parent 0d6621d389
commit 372542d914
3 changed files with 2 additions and 19 deletions

View File

@@ -32,6 +32,7 @@ async fn main() {
.fallback_service(static_files_service);
let listener = tokio::net::TcpListener::bind("0.0.0.0:3000").await.unwrap();
println!("Listening on port 3000. Pop open your browser to http://127.0.0.1:3000/ .");
axum::serve(listener, app).await.unwrap();
}