StaticAssets
static_assets.march — Serve Scroll's bundled browser assets.
Scroll ships its editor, chart renderer, styles and fonts under <archive_root>/assets so a notebook opens with no network access. This module maps a request path under /assets/ to a file there, refusing any path that could leave the directory.
Functions
The Content-Type for a file name, by extension.
True when rel names a file beneath the assets directory: non-empty, relative, and with no empty, . or .. segment or backslash.
Respond with the asset at rel under dir, or 404.