Skip to content

Instantly share code, notes, and snippets.

@danrasmuson
Created November 1, 2014 23:11
Show Gist options
  • Select an option

  • Save danrasmuson/f321f481b898f37b1234 to your computer and use it in GitHub Desktop.

Select an option

Save danrasmuson/f321f481b898f37b1234 to your computer and use it in GitHub Desktop.
npm install cors
// in app.js
var cors = require('cors')
app.use(cors());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment