Update deps

This commit is contained in:
2023-12-10 21:52:19 +01:00
parent cce27e34b2
commit 2a46502120
4 changed files with 535 additions and 321 deletions

View File

@@ -21,10 +21,8 @@ async fn start_app() {
let app = get_router().await;
info!("Start webserver...");
axum::Server::bind(&addr)
.serve(app.into_make_service())
.await
.unwrap();
let listener = tokio::net::TcpListener::bind(&addr).await.unwrap();
axum::serve(listener, app).await.unwrap();
info!("Webserver shutdown...");
}