pub fn router(state: AppState) -> Router
Build the router.
The mount path is applied here, from config, and is never inferred from the request path.