Created
January 23, 2020 13:37
-
-
Save shreesubhendu/099a0362077b05c3c142c9095343e442 to your computer and use it in GitHub Desktop.
AMP CORS problem in Safari browser
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
<IfModule mod_headers.c> | |
Header set Referrer-Policy "origin" | |
Header set Access-Control-Allow-Origin 'https://cdn.ampproject.org' | |
Header set AMP-Access-Control-Allow-Source-Origin 'https://yoursite.com' | |
</IfModule> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment