Skip to content

Instantly share code, notes, and snippets.

@AndrejGajdos
Created June 24, 2018 11:40
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save AndrejGajdos/056242d1554634315f2a0863d76595b6 to your computer and use it in GitHub Desktop.
const corsOptions = {
credentials: true,
};
app.use(cors(corsOptions));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment