Skip to main content

router

Function router 

Source
pub fn router(state: AppState) -> Router
Expand description

Build the API router: open reads, password-gated writes, and — when the dashboard feature is on — the embedded SPA as the fallback.