feat(presentation): GET /health endpoint

This commit is contained in:
2026-05-14 11:21:58 +02:00
parent 6082766935
commit 2524440fe4
3 changed files with 13 additions and 0 deletions

View File

@@ -16,6 +16,8 @@ use crate::{handlers::*, state::AppState};
pub fn router(fed_config: &ApFederationConfig) -> Router<AppState> {
let api_routes = Router::new()
// health
.route("/health", get(health::health_handler))
// auth
.route("/auth/register", post(auth::post_register))
.route("/auth/login", post(auth::post_login))