Skip to content

Instantly share code, notes, and snippets.

@bitflower
Created January 12, 2015 10:22
Show Gist options
  • Save bitflower/65d8d9fd46f2a10c5795 to your computer and use it in GitHub Desktop.
Save bitflower/65d8d9fd46f2a10c5795 to your computer and use it in GitHub Desktop.
Add CORS support to DaftMonk/angular-fullstack YO generator
1. npm install cors
2. then in the app module:
var cors = require('cors');
//add cors to do the cross site requests
app.use(cors());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment