Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
Allow cross domain requests of the fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
NielsLeenheer committed Nov 27, 2013
1 parent 2f0c6fe commit 0c6dc28
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .htaccess
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 0c6dc28

Please sign in to comment.