forked from ms-iot/content
-
Notifications
You must be signed in to change notification settings - Fork 0
/
web.config
24 lines (24 loc) · 974 Bytes
/
web.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<system.webServer>
<staticContent>
<remove fileExtension=".woff" />
<mimeMap fileExtension=".woff" mimeType="application/x-font-woff" />
<remove fileExtension=".woff2" />
<mimeMap fileExtension=".woff2" mimeType="application/x-font-woff2" />
<remove fileExtension=".ttf" />
<mimeMap fileExtension=".ttf" mimeType="application/octet-stream" />
<remove fileExtension=".svg" />
<mimeMap fileExtension=".svg" mimeType="image/svg+xml" />
<remove fileExtension=".json" />
<mimeMap fileExtension=".json" mimeType="application/json" />
</staticContent>
<httpRedirect enabled="true">
<add wildcard="/" destination="/content" />
</httpRedirect>
<httpErrors errorMode="Custom">
<remove statusCode="404"/>
<error statusCode="404" path="/content" responseMode="ExecuteURL"/>
</httpErrors>
</system.webServer>
</configuration>