gr2m / hapi-cors-headers

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

Documentation is in correct #7

Closed krownoss closed 6 years ago

krownoss commented 6 years ago
server.ext('onPreResponse',addcorsHeaders);

line should be

server.ext('onPreResponse',corsHeaders);
krownoss commented 6 years ago

This is on NPM website where the incorrect documentation is.

gr2m commented 6 years ago

Thank you, I’ll release a new version to fix the documentation on npm 👍

gr2m commented 6 years ago

fixed with v1.0.1