nx.js
Interfaces

StaticFileHandlerOptions

Options object for the createStaticFileHandler() function.

Properties

PropertyTypeDescription
headers?HeadersInit | (req, path) => HeadersInitAddional HTTP headers to include in the response. Can be a static Headers object, or a function which returns a Headers object.

On this page