Creates a middleware object for serving static files. See StaticFileOpts for more detailed information
Can't really imagine needing to use this directly, instead you should just define the staticFiles field in the
createApiServer. Only GET and HEAD requests are served, and only files under fileRoot.
Creates a middleware object for serving static files. See StaticFileOpts for more detailed information Can't really imagine needing to use this directly, instead you should just define the staticFiles field in the createApiServer. Only GET and HEAD requests are served, and only files under fileRoot.
Returns
Static File Middles