Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save shreesubhendu/099a0362077b05c3c142c9095343e442 to your computer and use it in GitHub Desktop.
Save shreesubhendu/099a0362077b05c3c142c9095343e442 to your computer and use it in GitHub Desktop.
AMP CORS problem in Safari browser
<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