jfhbrook / node-ecstatic

A static file server middleware that works with core http, express or on the CLI!
https://github.com/jfhbrook/node-ecstatic
MIT License
975 stars 194 forks source link

set cors to false to enable booleanism on the command-line #162

Closed ghost closed 9 years ago

ghost commented 9 years ago

I missed cors in the default list, which was the whole reason behind the first patch!

With this patch:

$ ecstatic --cors public/ -p 8000

will finally work.

jfhbrook commented 9 years ago

Published as 1.1.3

Thanks!