Skip to main content

web_assets_available

Function web_assets_available 

Source
pub fn web_assets_available() -> bool
Expand description

Returns true when the embedded apps/web/out/index.html is present.

Used by AppState::web_assets_enabled() and the router to decide whether to wire up the SPA fallback handler.