Azure and Use Any Fonts

Home Forums Use Any Fonts Azure and Use Any Fonts

This topic contains 1 reply, has 2 voices, and was last updated by  Dinesh 3 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6498

    Brannon Zahand

    If you are hosting WordPress on Azure and Use Any Fonts isn’t displaying your fonts correctly, I figured out that you need to put the following in your “web.config” file:

    <system.webServer>
    <httpProtocol>
    <customHeaders>
    <add name=”Access-Control-Allow-Origin” value=”*” />
    <add name=”Access-Control-Allow-Methods” value=”HEAD,GET,OPTIONS” />
    </customHeaders>
    </httpProtocol>
    <staticContent>
    <mimeMap fileExtension=”.woff” mimeType=”application/x-font-woff” />
    </staticContent>
    </system.webServer>

    #6499

    Dinesh
    Keymaster

    Hi Brannon,

    Thank you so much for sharing this. Really appreciate your effort.

    Thanks

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘Azure and Use Any Fonts’ is closed to new replies.