Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save paales/6683696 to your computer and use it in GitHub Desktop.
Save paales/6683696 to your computer and use it in GitHub Desktop.
diff --git a/.htaccess b/.htaccess
index 60e17952c880bbd2b4ef4f7f63659624a9edb735..980a86b7107e1ce6aa2875c0126f4eab148d2bfd 100644
--- a/.htaccess
+++ b/.htaccess
@@ -207,3 +207,13 @@
## http://developer.yahoo.com/performance/rules.html#etags
#FileETag none
+
+
+############################################
+## Fix: Firefox doesn’t allow cross-domain fonts
+## http://www.red-team-design.com/firefox-doesnt-allow-cross-domain-fonts-by-default
+<FilesMatch "\.(ttf|otf|eot|woff)$">
+ <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