Skip to content

Instantly share code, notes, and snippets.

@itsrajverma
Created October 17, 2020 07:36
Show Gist options
  • Save itsrajverma/15333c91e175879ab082a1cf294b2e1b to your computer and use it in GitHub Desktop.
Save itsrajverma/15333c91e175879ab082a1cf294b2e1b to your computer and use it in GitHub Desktop.
Header always set Access-Control-Allow-Origin "https://domain.com"
Header always set Access-Control-Allow-Methods "POST, GET, OPTIONS, DELETE, PUT"
Header always set Access-Control-Allow-Credentials "true"
Header always set Access-Control-Allow-Headers "x-requested-with, Content-Type, origin, authorization, accept, client-security-token"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment