Connect
exports.mime
Expose mime module.
If you wish to extend the mime table use this
reference to the "mime" module in the npm registry.
Source
exports.mime = send.mime;Expose mime module.
If you wish to extend the mime table use this
reference to the "mime" module in the npm registry.
exports.mime = send.mime;
Static:
Static file server with the given
rootpath.Examples:
Options:
maxAgeBrowser cache maxAge in milliseconds. defaults to 0hiddenAllow transfer of hidden files. defaults to falseredirectRedirect to trailing "/" when the pathname is a dir. defaults to trueindexDefault file name, defaults to 'index.html'Source