cloudhead / node-static

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

Normalizes `headers` example #190

Closed crenwick closed 4 years ago

crenwick commented 7 years ago

The headers option takes an object, but the doc example shows just an object without the 'headers' key, making it look like any object with a string key will be used as the header.

This normalizes the example to match the other examples.