HubSpot / BuckyServer

Node server that receives metric data over HTTP & forwards to your service of choice
http://github.hubspot.com/bucky
MIT License
195 stars 33 forks source link

Support a configurable CORS origin #19

Closed ckdake closed 8 years ago

ckdake commented 8 years ago

The current BuckyServer allows anyone to post metrics, enabling anyone on the internet to spam new keys which can make a mess of a statsd/Graphite server.

https://github.com/HubSpot/BuckyServer/blob/master/server.coffee#L30

It'd be great to have the ability to specify specific Access-Control-Allow-Origin headers, perhaps right around

https://github.com/HubSpot/BuckyServer/blob/master/config/default.yaml#L3