Update telemetry
Some checks failed
Rust / Test (push) Has been cancelled
Rust / Rustfmt (push) Has been cancelled
Rust / Clippy (push) Has been cancelled
Rust / Code coverage (push) Has been cancelled

This commit is contained in:
Alphonse Paix
2025-09-28 03:37:23 +02:00
parent ac96b3c249
commit 1117d49746
20 changed files with 120 additions and 116 deletions

View File

@@ -160,12 +160,12 @@ impl From<AuthError> for AppError {
}
pub async fn not_found() -> Response {
(StatusCode::NOT_FOUND, not_found_html()).into_response()
not_found_html()
}
pub fn not_found_html() -> Response {
let template = HtmlTemplate(NotFoundTemplate);
template.into_response()
(StatusCode::NOT_FOUND, template).into_response()
}
pub struct Path<T>(T);