use axum::{routing::get, Router}; use color_eyre::Result; use tracing::instrument; #[instrument] pub async fn run() -> Result<()> { let app = Router::new().route("/tls-check/success", get(|| async { "OK" })); let listener = tokio::net::TcpListener::bind("[::]:8080").await?; axum::serve(listener, app).await?; Ok(()) }