cloudhead / node-static

rfc 2616 compliant HTTP static-file server module, with built-in caching.
MIT License
2.17k stars 245 forks source link

Disable indexFile #174

Open piranna opened 8 years ago

piranna commented 8 years ago

Add option to disable indexFile and show directory content, or alternatively be able to define a function that gets called to generate the content of the directory (I'm interested on a list of stat objects as JSON).