pub fn routes(state: Shared) -> Router<Shared>
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.
.with_state