Skip to content

Commit

Permalink
remove woff/2 mimeType fix as WS2022 IIS already has that
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Aug 13, 2024
1 parent 758857c commit ce2e289
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions src/Moonglade.Web/web.Release.config
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,6 @@
<!-- Fix issue https://github.com/EdiWang/Moonglade/issues/189 -->
<location>
<system.webServer>
<staticContent xdt:Transform="InsertIfMissing">
<remove fileExtension=".woff2" />
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff2" mimeType="font/woff2" />
<mimeMap fileExtension=".woff" mimeType="font/woff" />
</staticContent>
<security xdt:Transform="InsertIfMissing">
<requestFiltering removeServerHeader="true" />
</security>
Expand Down

0 comments on commit ce2e289

Please sign in to comment.