mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Fix return types of serve futures (#3601)
This commit is contained in:
@@ -133,6 +133,5 @@ where
|
||||
tracing::debug!("listening on {addr}");
|
||||
axum::serve(listener, redirect.into_make_service())
|
||||
.with_graceful_shutdown(signal)
|
||||
.await
|
||||
.unwrap();
|
||||
.await;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user