posemesh_compute_node/http.rs
1use axum::Router;
2
3/// Build the node HTTP router by delegating to the shared
4/// `posemesh-node-registration` router. This ensures that the registration
5/// callback persists the node secret and that DDS health probes update the
6/// registration health state in a single, canonical store used by the
7/// outbound registration loop.
8pub fn router() -> Router {
9 posemesh_node_registration::http::router_dds(posemesh_node_registration::http::DdsState)
10}