Log not found URI.

This commit is contained in:
2026-10-25 16:06:42 +01:00
parent 455096fa37
commit bfacd2e302
3 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -39,6 +39,6 @@ pub fn create_router(state: AppState) -> axum::Router {
axum::Router::new()
.nest("/api", api)
.route("/health", get(async || StatusCode::NO_CONTENT))
.fallback(async || AppError::NotFound)
.fallback(async |uri: axum::http::Uri| AppError::NotFoundWithUri(uri))
.with_state(state)
}