I have an Azure Website (Asp.net MVC) that includes fonts (e.g. fonts, glyphics) and is available in a user domain, say www.mywebsite.com.
I also installed Azure CDN with the source host pointing to the site (and not the blob repository). In addition, I use my own domain name for cdn, for example, "cdn.mywebsite.com".
The problem I am facing is that browsers refuse to download fonts because CORS is not enabled. I found ways to enable CORS in the Blade Azure repository, but I would rather get this working just by pointing the CDN to the website.
Any ideas on how to do this?
source
share