i get this errors not on my website but when i test it on web.dev in section "Best Practices" ... how can i fix that ?
Some here says this code will fix it :
<IfModule mod_headers.c>
<FilesMatch "\.(ttf|ttc|otf|eot|woff|woff2|font.css)$">
Header set Access-Control-Allow-Origin "*"
</FilesMatch>
</IfModule>
I put the code above in my .htaccess but google still gives that error