Skip to content

Instantly share code, notes, and snippets.

@ryanwinchester
Last active August 29, 2015 14:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ryanwinchester/c935a10435e144b7b662 to your computer and use it in GitHub Desktop.
Save ryanwinchester/c935a10435e144b7b662 to your computer and use it in GitHub Desktop.
Allow Cross-domain origin requests for webfonts in .htaccess
# Apache config to allow access to webfonts from all domains:
<IfModule mod_headers.c>
<FilesMatch "\.(eot|otf|tt[cf]|woff)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment