ndx-cors
v0.0.11
Published
cors for ndx-framework apps
Downloads
24
Readme
ndx-cors
adds cors support to your ndx-framework apps
install withnpm install --save ndx-cors
what it does
ndx-cors provides the correct headers for cross origin resource sharing to all /api
and /auth
routes
example
make sure you .use
ndx-cors before everything else
src/server/app.coffee
require 'ndx-server'
.config
database: 'db'
.use 'ndx-cors'
.start()