Skip to content

Instantly share code, notes, and snippets.

@diogomachado
Created August 4, 2014 11:48
Show Gist options
  • Save diogomachado/c91a2ef7760e467ce374 to your computer and use it in GitHub Desktop.
Save diogomachado/c91a2ef7760e467ce374 to your computer and use it in GitHub Desktop.
Corrige o problema da restrição CORS do firefox no Apache2
<FilesMatch "\.(ttf|ttc|otf|eot|woff|font.css)$">
<IfModule mod_headers.c>
Header set Access-Control-Allow-Origin "http://mysite.com"
</IfModule>
</FilesMatch>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment