Permalink
Browse files

Allow cross domain requests of the fonts

  • Loading branch information...
NielsLeenheer committed Nov 27, 2013
1 parent 2f0c6fe commit 0c6dc289bdb5a5f6c7090786c73e1778e1d3ce0e
Showing with 5 additions and 0 deletions.
  1. +5 −0 .htaccess
View
@@ -33,6 +33,11 @@ RewriteRule ^results/search.html$ /backend/controllers/search.php
RewriteRule ^results/related/(.+).html$ /backend/controllers/fingerprint.php?id=$1
RewriteRule ^devicelab/?$ /backend/controllers/lab.php
+<FilesMatch ".+\.[woff|eot|svg|ttf]">
+<IfModule mod_headers.c>
+ Header set Access-Control-Allow-Origin "*"
+</IfModule>
+</FilesMatch>
<FilesMatch "detect.html">
<IfModule mod_headers.c>

0 comments on commit 0c6dc28

Please sign in to comment.