Skip to main content

projection_routes

Function projection_routes 

Source
pub fn projection_routes() -> Vec<ProjectionRoute>
Expand description

The projection’s own routes, in the order their producers declare them: the home page first, then every native surface.

The home page is ServedOnly and says so: a publication mounts its application at / and carries no index of a process, so a published page that linked / expecting the index would be pointing at the landing page instead. Nothing here is narrowed to what one process offers — a document describes the projection, and discover::Runtime decides what a given server serves of it.