virtkick / http-master

versatile front end http service with reverse proxy
MIT License
139 stars 17 forks source link

Feature request: optional CORS support #106

Closed kumavis closed 9 years ago

kumavis commented 9 years ago

it would be awesome if we could enable CORS support

kumavis commented 9 years ago

express has a nice drop in middleware https://github.com/troygoode/node-cors

Rush commented 9 years ago

You could probably enable CORS right now with the header middleware. Not super nice but I think it does the job.

https://github.com/encharm/http-master#addheader

kumavis commented 9 years ago

ah yes that would work, thanks