Skip to main content

routes

Function routes 

Source
pub fn routes(state: Shared) -> Router<Shared>
Expand description

The dashboard’s routes, without the state applied: the gateway merges its own routes on before calling .with_state, so the origin guard is the only layer either side adds.