Safari fonts missing due to CORS https issue
-
On any device and browser my website will show up in Lato font exept in Safari on Apple computers it will come up with a strange error:
Access to font at ‘https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff2’ from origin ‘https://www.mysite.com’ has been blocked by CORS policy: No ‘Access-Control-Allow-Origin’ header is present on the requested resource.
This error indicates a missing https in the CSS file but the CSS looks just perfect and all fonts are loaded via https and the same domain:
/** * Auto Generated by OMGF * @author: Daan van den Bergh * @url: https://ffw.press */ @font-face { font-family: 'Lato'; font-style: normal; font-weight: 400; font-display: swap; src: url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.eot'); src: url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff2') format('woff2'), url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.woff') format('woff'), url('https://www.mysite.com/wp-content/uploads/omgf/sydney-google-fonts/lato-normal-400.ttf') format('ttf'); }
The page I need help with: [log in to see the link]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Safari fonts missing due to CORS https issue’ is closed to new replies.