Created
December 28, 2015 06:55
-
-
Save nulltier/57c3b23eeb009ef5ec0d to your computer and use it in GitHub Desktop.
Header set Access-Control-Allow-Origin in .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 Access-Control-Allow-Origin "*" | |
Header add Access-Control-Allow-Headers "origin, x-requested-with, content-type" | |
Header add Access-Control-Allow-Methods "PUT, GET, POST, DELETE, OPTIONS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment