use axum::{
extract::State,
http::{StatusCode, header},
response::IntoResponse,
};
pub async fn security_txt_handler(State(contact): State<String>) -> impl IntoResponse {
let body = format!("Contact: mailto:{contact}\nPreferred-Languages: en\n");
(StatusCode::OK, [(header::CONTENT_TYPE, "text/plain; charset=utf-8")], body)
}