How to Set Access-Control-Allow-Origin (CORS) Headers in .htaccess file
<FilesMatch “\.(ttf|otf|eot|woff|js|css|woff2)$”> # Type all extenstion that you want to allow <IfModule mod_headers.c> Header Set Access-Control-Allow-Origin “*” </IfModule> </FilesMatch>
Read article
