Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can I fix CORS issue for fonts? #80

Open
lorddev opened this issue Jul 20, 2019 · 0 comments
Open

How can I fix CORS issue for fonts? #80

lorddev opened this issue Jul 20, 2019 · 0 comments

Comments

@lorddev
Copy link

lorddev commented Jul 20, 2019

I get this error loading fonts for my theme:

Access to font at 'https://(example).azurewebsites.net/wp-content/themes/wpex-chic/fonts/fontawesome-webfont.woff2?v=4.3.0' from origin 'http://(example).eastus.cloudapp.azure.com' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

How can I set the CORS policy for my app to allow fonts from other domains?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant