Skip to content

How can I fix CORS issue for fonts? #80

@lorddev

Description

@lorddev

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions