cnnlabs / cnn-hapi

CNN Hapi
10 stars 4 forks source link

Feature/cors support #27

Closed adslaton closed 8 years ago

adslaton commented 8 years ago

Why

Adding the ability to set up cors support.

Testing

Instantiate cnn-hapi by doing the following

server = require('cnn-hapi')({port: 3000, routes: {cors: true}});