CORS issue with fonts

Yes I am using the put singed urls the same way, was just curious is it safe to allow all origins or not It’s an widget that people can use it on their website, that’s why I had to allow all origin to access the fonts But then why images and videos were working from the public domain, I thought everything is accessible using that custom domain
1 Reply
kev-ac
kev-ac2y ago
Images and videos* are generally not relevant in regards to cors / sop. Fonts on the other hand are. If you load fonts from another domain cors headers need to be set. (* Videos are a complicated topic. Manifest-based videos like HLS might need cors headers as well)
Want results from more Discord servers?
Add your server