DNNCommunity / Dnn.CommunityForums

Open-source forums module for DNN Platform. This is a fork and continuance of the Active Forums module.
https://dnncommunity.org
Other
13 stars 21 forks source link

Review MimeType issue in web.config for woff2 fonts #979

Open johnhenley opened 3 months ago

johnhenley commented 3 months ago
          > @Timo-Breumelhof  to review MimeType issue in web.config for woff2 fonts.

image

image

@Timo

Originally posted by @johnhenley in https://github.com/DNNCommunity/Dnn.CommunityForums/issues/599#issuecomment-2133545463

Timo-Breumelhof commented 3 months ago

If I add this to my web.config (<staticContent>) , it works (locally)

<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />

But I also have the mime type added in IIS.

I can only reproduce by adding:

<remove fileExtension=".woff2" />

Timo-Breumelhof commented 3 months ago

See IIS Management > MIME Types >

image