Log not found URI.
This commit is contained in:
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user