This commit is contained in:
Kirill
2026-07-02 23:13:13 +07:00
parent e997a20fe6
commit d4a57c0b6a
34 changed files with 524 additions and 67 deletions
+5
View File
@@ -1,3 +1,8 @@
//! Сборка axum-роутера: монтирует контроллеры всех модулей под `/api/v1` и
//! `/api/v1/admin`, настраивает rate-limiting (tower_governor), CORS, Prometheus-метрики
//! и health-пробы. Раздача собранного фронтенда (SPA fallback на index.html) висит на
//! этом же роутере как `fallback_service`, поэтому бэкенд и фронт всегда деплоятся вместе.
use axum::{
extract::{MatchedPath, Request, State},
http::{