Skip to content

Instantly share code, notes, and snippets.

@AndrejGajdos
Created June 24, 2018 11:40
Show Gist options
  • Save AndrejGajdos/056242d1554634315f2a0863d76595b6 to your computer and use it in GitHub Desktop.
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