-
-
Save daltonrooney/5cd9677d80d338cd72cafa3a1557dd57 to your computer and use it in GitHub Desktop.
Enable CORS via htaccess.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Header add Content-Type "application/json" | |
Header add Access-Control-Allow-Methods "GET,HEAD,POST,PUT,DELETE,OPTIONS" | |
Header add Access-Control-Allow-Headers "Auth-Token,Content-Type" | |
Header add Access-Control-Allow-Origin "*" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment