Interfaces
StaticFileHandlerOpts
Options object for the createStaticFileHandler()
function.
Properties
Property | Type | Description |
---|---|---|
headers? | HeadersInit | (req , path ) => HeadersInit | Addional HTTP headers to include in the response. Can be a static Headers object, or a function which returns a Headers object. |