Skip to main content

Module router

Module router 

Source
Expand description

Router composition — public routes and CORS (D16 E1-c phase 2).

Bearer auth on /v1/* is applied by the sidecar before calling compose_router so Axum state types stay aligned when merging route trees.

Functions§

compose_router
Mount /health, /internal/probe, merge authenticated /v1/*, and CORS defaults.