Skip to main content

http_router

Function http_router 

Source
pub fn http_router(state: ServerState) -> Result<Router, ServerError>
Expand description

Build the public HTTP application: workflow-management routes first, then the dashboard static asset fallback. The dashboard adds no data API.

ยงErrors

Returns ServerError::Config when dashboard assets are misconfigured.