Skip to content

Instantly share code, notes, and snippets.

@iamnodev
Created June 28, 2012 15:18
Show Gist options
  • Save iamnodev/3011966 to your computer and use it in GitHub Desktop.
Save iamnodev/3011966 to your computer and use it in GitHub Desktop.
Solves serving @fontface to Firefox
# [...]
# credits: Piero
# source: http://www.cssbakery.com/2010/07/fixing-firefox-font-face-cross-domain_25.html
AddType application/vnd.ms-fontobject .eot
AddType font/ttf .ttf
AddType font/otf .otf
<FilesMatch "\.(ttf|otf|eot)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "*"
</IfModule>
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment