(req: HttpRequest)
| 15 | struct TlsUpdated; |
| 16 | |
| 17 | async fn index(req: HttpRequest) -> HttpResponse { |
| 18 | debug!("{req:?}"); |
| 19 | |
| 20 | HttpResponse::Ok().content_type(ContentType::html()).body( |
| 21 | "<!DOCTYPE html><html><body>\ |
| 22 | <p>Welcome to your TLS-secured homepage!</p>\ |
| 23 | </body></html>", |
| 24 | ) |
| 25 | } |
| 26 | |
| 27 | #[tokio::main(flavor = "current_thread")] |
| 28 | async fn main() -> eyre::Result<()> { |
nothing calls this directly
no outgoing calls
no test coverage detected