Simplify simple example further

This commit is contained in:
Tristan D. 2025-04-14 18:57:35 +02:00
parent d65409a3ea
commit 49612d642c
Signed by: tristan
SSH key fingerprint: SHA256:9oFM1J63hYWJjCnLG6C0fxBS15rwNcWwdQNMOHYKJ/4

View file

@ -3,7 +3,3 @@ use axum::response::{Html, IntoResponse};
pub async fn get() -> impl IntoResponse { pub async fn get() -> impl IntoResponse {
Html("<h1>Hello World!</h1>").into_response() Html("<h1>Hello World!</h1>").into_response()
} }
pub async fn post() -> impl IntoResponse {
"Posted successfully".into_response()
}