lukeed / sirv

An optimized middleware & CLI application for serving static files~!
MIT License
1.07k stars 58 forks source link

Allow `setHeaders` while using dev mode #22

Closed kristoferbaxter closed 5 years ago

kristoferbaxter commented 5 years ago

I have a use-case where even in dev mode I need specific headers to be set, as a result I'm using prod mode but restarting node when FS changes are detected.

Would adding setHeaders into dev mode be a huge burden?

lukeed commented 5 years ago

Not a burden at all~! Will add it now, makes sense to have.

kristoferbaxter commented 5 years ago

Thanks!