pub fn build(server: &Server) -> Router<State>
Builds the client endpoint routes.
Federation and media settings select the configured route variants.