1.0.1 • Published 10 years ago
jack-http-cors v1.0.1
jack-http-cors
This Jack-Stack Plugin allows you to define source URLs that have CORS authority to make requests to your application
Config
The only configuration this plugin requires is whitelist, which is an array of
URL roots (defaults shown):
jack.add(require('jack-http-cors').configure({
whitelist: [
'http://localhost:3000',
'http://localhost:5000',
]
}));