Skip to main content

build_routers_with

Function build_routers_with 

Source
pub(crate) fn build_routers_with(
    state: AppState,
    frontend_dir: Option<&Path>,
) -> SrvRouters
Expand description

build_routers, with the frontend directory passed in (headless --frontend-dir, or None).