Skip to main content

embed_assets_enabled

Function embed_assets_enabled 

Source
pub fn embed_assets_enabled() -> bool
Expand description

Is the EMBEDDED-ASSETS Serve lowering active for this compile (B4)? When set, the emitted Serve closure consults logos_assets::lookup(&path) BEFORE calling the handler — an embedded page/static asset shadows a backend route, exactly the dev router’s precedence, so a largo build web binary serves the bundled site. Default OFF: a plain Serve program lowers byte-identically (the asset hook is inert), which the HTTP differential pins.