jeudi 23 septembre 2021

CORS issue only on Safari for IOS devices

All the imports (css,fonts, ...) on my website from my cdn or even external cdns are working perfectly on all desktop/android devices, except for IOS devices specially Safari they never loads and In console I get:

GET
models: 31
https://use.fontawesome.com/releases/v5.8.1/webf
onts/fa-solid-g00.woff2 Origin
https://www.poliigon.com is not allowed by
Access-Control-Allow-Origin.

origin https://www.poliigon.com is not allowed
by Access-Control-Allow-Origin.

Steps to recreate the issue:

  • Open up URL in Safari iOS

  • Open up the URL in Chrome on same device

  • Open up URL in Safari again

  • The woff2 fonts now throw a cors error and the fallback font (arial) loads in.

is there is something I should do specially for the IOS Safari to work?




Aucun commentaire:

Enregistrer un commentaire