Closed adslaton closed 8 years ago
Adding the ability to set up cors support.
Instantiate cnn-hapi by doing the following
server = require('cnn-hapi')({port: 3000, routes: {cors: true}});
Why
Adding the ability to set up cors support.
Testing
Instantiate cnn-hapi by doing the following