CORS Issue with woff2 fonts behind CDN in Chrome
My problem with CORS and multi domain was that Cloudfront was taking in cache the first request so I had to select in Whitelist Headers the Origin option. And it works. enter image description here
Turns out that the problem was actually with the Content-Type
. As soon as I changed the content type to application/font-woff2
and invalidated the cache of these woff2
files, everything went through smoothly.