Skip to content

Commit fa445f0

Browse files
committed
Add woff/2 to web.config.
1 parent 41532cd commit fa445f0

File tree

1 file changed

+6
-0
lines changed
  • aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc

1 file changed

+6
-0
lines changed

aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Mvc/web.config

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,11 @@
1010
<add name="aspNetCore" path="*" verb="*" modules="AspNetCoreModule" resourceType="Unspecified"/>
1111
</handlers>
1212
<aspNetCore processPath="%LAUNCHER_PATH%" arguments="%LAUNCHER_ARGS%" stdoutLogEnabled="false" stdoutLogFile=".\logs\stdout" forwardWindowsAuthToken="false"/>
13+
<staticContent>
14+
<remove fileExtension=".woff" />
15+
<remove fileExtension=".woff2" />
16+
<mimeMap fileExtension=".woff" mimeType="application/font-woff" />
17+
<mimeMap fileExtension=".woff2" mimeType="application/font-woff2" />
18+
</staticContent>
1319
</system.webServer>
1420
</configuration>

0 commit comments

Comments
 (0)