aboutsummaryrefslogtreecommitdiffstats
path: root/src/api/mod.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-31 12:22:24 +0100
committertv <tv@krebsco.de>2026-10-31 12:22:24 +0100
commit028f80f46784b483215ab7a2952cc54fdd46ea5d (patch)
treeb83663de7c2854aac6537af7f76e69fa3cbea47b /src/api/mod.rs
parent3594477fee41d15437a74a17ec5e07edf6b65518 (diff)
api: add clocks to /health
Diffstat (limited to 'src/api/mod.rs')
-rw-r--r--src/api/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api/mod.rs b/src/api/mod.rs
index fb860c7..528df35 100644
--- a/src/api/mod.rs
+++ b/src/api/mod.rs
@@ -77,7 +77,7 @@ pub(crate) fn router(state: AppState, auth_state: AuthState, debug_api: bool) ->
SwaggerUi::new("/swagger-ui").config(utoipa_swagger_ui::Config::from("/openapi.yaml")),
)
.route("/openapi.yaml", get(openapi_spec))
- .route("/health", get(health::health))
+ .route("/health", get(health::node_health))
.route("/ready", get(health::ready))
// Outermost, so authentication failures get the error body too.
.layer(middleware::from_fn(json_errors))