Created
September 24, 2013 12:00
-
-
Save paales/6683696 to your computer and use it in GitHub Desktop.
This file contains 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
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