Created
December 25, 2013 16:02
-
-
Save zulfajuniadi/8124513 to your computer and use it in GitHub Desktop.
Enable CORS via htaccess.
This file contains 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