Merge remote-tracking branch 'origin/master' into codex/tiaoyitiao

This commit is contained in:
2026-06-05 22:46:57 +08:00
49 changed files with 2343 additions and 878 deletions

View File

@@ -1,7 +1,12 @@
use axum::{Router, routing::get};
use crate::{health::health_check, state::AppState};
use crate::{
health::{health_check, readiness_check},
state::AppState,
};
pub fn router(_state: AppState) -> Router<AppState> {
Router::new().route("/healthz", get(health_check))
Router::new()
.route("/healthz", get(health_check))
.route("/readyz", get(readiness_check))
}