/ Published in: Apache
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# example Apache .htaccess file to add access control header <FilesMatch "\.(ttf|otf)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch>