The content-type to serve the file as. Only valid when localPath points to a file. If
localPath points to a directory, the content types for all files will be inferred.
Optionalindex
index?:string | boolean
By default API.static will also serve 'index.html' in response to a request on a
directory. To disable this set false or to supply a new index pass a string.
The
content-type
to serve the file as. Only valid when localPath points to a file. If localPath points to a directory, the content types for all files will be inferred.