CORS Issue
-
Hi,
I am encountering a CORS issue when loading fontawesome fonts. Images seems to load fine. I am using nginx, so not sure if this is a nginx problem or the CDN itself?
The error I see in Chrome’s Developer console is something like below (removed the real domain and prefix):
Access to font at 'https://SHIFTCDNPREFIX.wpcdn.shift8cdn.com/wp-content/themes/mytheme/assets/vendor/fontawesome/fonts/fa-regular-400.ttf' from origin 'https://my.domain.com' has been blocked by CORS policy: The 'Access-Control-Allow-Origin' header contains multiple values '*, https://my.domain.com', but only one is allowed.Is there anyway we can choose which media type to use the CDN with? For example, only images.
Thank you!
The topic ‘CORS Issue’ is closed to new replies.