0.0.11 • Published 6 years ago
ndx-cors v0.0.11
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()