pub fn asset_for(path: &str) -> Option<Asset>Expand description
Resolve a request path to an embedded asset, or None for a 404.
/ and /index.html both resolve to the shell page. Only the small set of
embedded assets is routable; everything else is a miss and the server fails
closed with a 404 rather than touching the filesystem.