Log what address and port the server is bound to
This commit is contained in:
parent
cc601fecde
commit
e74134d9ad
1 changed files with 2 additions and 0 deletions
|
@ -65,7 +65,9 @@ async fn async_main(
|
|||
.route("/.well-known/webfinger", get(run_webfinger_query))
|
||||
.with_state(datastore);
|
||||
|
||||
debug!("Binding to {listen_address}");
|
||||
let listener = tokio::net::TcpListener::bind(listen_address).await.unwrap();
|
||||
info!("Bound to {}", listener.local_addr()?);
|
||||
axum::serve(listener, router)
|
||||
.with_graceful_shutdown(graceful_shutdown_handler())
|
||||
.await
|
||||
|
|
Loading…
Reference in a new issue