CORS policy errors

Question

Okay, so I recently set up CloudFront but for some reason, I keep on getting CORS policy errors on two of my font files. I have the .htaccess edited appropriately (See code below) and I have whitelisted the origin in my CloudFront distribution. What am I missing?

<FilesMatch ".(ttf|otf|eot|woff)$">
  <IfModule mod_headers.c>
    Header set Access-Control-Allow-Origin "*"
  </IfModule>
</FilesMatch>

Thanks in advance for any help you can throw my way.

0
Daire 4 years 2017-09-08T17:13:15-05:00 0 Answers 65 views 0

Leave an answer

Browse
Browse