gr2m / hapi-cors-headers

hapi extension to enable CORS
MIT License
28 stars 11 forks source link

Fixed missing 'access-control-expose-headers' #5

Open vpalmisano opened 8 years ago

vpalmisano commented 8 years ago

access-control-expose-headers should be enabled also for non-OPTIONS requests

gr2m commented 8 years ago

Thanks! Can you please adjust the OPTIONS request tests to check for it? https://github.com/gr2m/hapi-cors-headers/blob/master/tests/index.js#L47-L100

gr2m commented 8 years ago

@vpalmisano can you add tests? If you don’t have time let me know I’ll try to take care of it

gr2m commented 7 years ago

🔔 ping @vpalmisano