List task command + updated deps

This commit is contained in:
2024-03-04 19:52:53 -07:00
parent c08ec0120d
commit 83efbb0d4f
6 changed files with 255 additions and 95 deletions
+2 -4
View File
@@ -18,10 +18,8 @@ pub async fn web_server(ctx: Context) {
.with_state(ctx);
println!("Serving bot api on: {}", addr);
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();
}
#[derive(Deserialize)]