CORS Problem CloudFront
-
I logged in and view the front website, I get CORS issue on Chrome. It happens on Google fonts that I have hosted in local and served via CloudFront CDN. It affects the visual view of the website only when logged in.
However, it’s alright when viewed without logged in. How to fix this issue?Failed to load resource: net::ERR_FAILED
(index):1 Access to font at ‘https://cdn.mydomain.com/wp-content/themes/rehub-theme/admin/fonts/webfonts/fa-brands-400.ttf’ from origin ‘https://mydomain.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.This error message appears for every fonts served via CDN.
- The topic ‘CORS Problem CloudFront’ is closed to new replies.