Created
June 21, 2018 10:21
-
-
Save levnhub/51b69ea38e282d6e538394ac1c2584e3 to your computer and use it in GitHub Desktop.
.htaccess tricks
This file contains hidden or 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
* For font from other domain | |
<FilesMatch "\.(ttf|otf|eot|woff|woff2)$"> | |
<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