Watch
0
0
Fork
You've already forked hyperhive
0

swarm daemons: opt-in /healthz and /readyz listener, and /readyz on the controller

This commit is contained in:
atlas 2026-11-18 13:52:36 +01:00 • committed by mara
commit c21b158884

View file

@ -771,6 +771,7 @@ pub(crate) fn build_app(state: AppState) -> axum::Router {
// `Clone`; each request gets its own owned copy for `Json` to
// serialize, same as `hive-c0re::dashboard::serve`.
router
.route("/readyz", get(routes::readyz))
.route(
"/api/openapi.json",
get(move || async move { Json(api.clone()) }),