createStaticAssetHandler(options: { fs: IFileSystem; assetsDir: string; assetUrlPrefix: string; }): RouteHandler
Creates a static-asset RouteHandler that serves files from a directory
using the injected IFileSystem.
Returns 404 when fs is absent or the requested file is missing.
options: { fs: IFileSystem; assetsDir: string; assetUrlPrefix: string; }
Configuration
A route handler function