We are using Sitecore SXA 1.8 and using themes to load fonts and the images are loading from media library.

CDN is enabled for the website and few of the pages are throwing CORS error on console for images and few fonts. For example, enter image description here

enter image description here

The same image is loading fine in few pages without any error in console. We have added the required settings in the CORS item of SXA under site settings with all the required headers, origin etc.

Any idea why this is happening with few images and fonts only?

Please note that I already looked into CORS Error while downloading the fonts from the Azure CDN using Sitecore PaaS but this is without SXA.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.