Saving changes

This commit is contained in:
2026-06-13 14:52:11 -04:00
parent 7107a50d58
commit f29c876ad6
3 changed files with 137 additions and 0 deletions
+11
View File
@@ -2,4 +2,15 @@
async fn main() {
// initialize tracing
tracing_subscriber::fmt::init();
match tokio::net::TcpListener::bind(textsender_api::config::host::get_full()).await {
Ok(listener) => {
// build our application with routes
let app = textsender_api::config::init::app().await;
axum::serve(listener, app).await.unwrap();
}
Err(err) => {
eprintln!("Error: {err:?}")
}
}
}