How to fix font-awesome icons from error (has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.).
Fix font-awesome icons from error (has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.).
Paste in htaccess file
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css|css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
Comments
Post a Comment