|
1 |
| -<?xml version="1.0" encoding="UTF-8"?> |
2 |
| -<configuration> |
3 |
| - <system.webServer> |
4 |
| - <staticContent> |
5 |
| - <remove fileExtension=".blat" /> |
6 |
| - <remove fileExtension=".dat" /> |
7 |
| - <remove fileExtension=".dll" /> |
8 |
| - <remove fileExtension=".json" /> |
9 |
| - <remove fileExtension=".wasm" /> |
10 |
| - <remove fileExtension=".woff" /> |
11 |
| - <remove fileExtension=".woff2" /> |
12 |
| - <mimeMap fileExtension=".blat" mimeType="application/octet-stream" /> |
13 |
| - <mimeMap fileExtension=".dll" mimeType="application/octet-stream" /> |
14 |
| - <mimeMap fileExtension=".dat" mimeType="application/octet-stream" /> |
15 |
| - <mimeMap fileExtension=".json" mimeType="application/json" /> |
16 |
| - <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> |
17 |
| - <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> |
18 |
| - <mimeMap fileExtension=".woff2" mimeType="application/font-woff" /> |
19 |
| - </staticContent> |
20 |
| - <httpCompression> |
21 |
| - <dynamicTypes> |
22 |
| - <add mimeType="application/octet-stream" enabled="true" /> |
23 |
| - <add mimeType="application/wasm" enabled="true" /> |
24 |
| - </dynamicTypes> |
25 |
| - </httpCompression> |
26 |
| - <rewrite> |
27 |
| - <rules> |
28 |
| - <rule name="Serve subdir"> |
29 |
| - <match url=".*" /> |
30 |
| - <action type="Rewrite" url="wwwroot\{R:0}" /> |
31 |
| - </rule> |
32 |
| - <rule name="SPA fallback routing" stopProcessing="true"> |
33 |
| - <match url=".*" /> |
34 |
| - <conditions logicalGrouping="MatchAll"> |
35 |
| - <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> |
36 |
| - </conditions> |
37 |
| - <action type="Rewrite" url="wwwroot\" /> |
38 |
| - </rule> |
39 |
| - </rules> |
40 |
| - </rewrite> |
41 |
| - </system.webServer> |
42 |
| -</configuration> |
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<configuration> |
| 3 | + <system.webServer> |
| 4 | + <staticContent> |
| 5 | + <remove fileExtension=".blat" /> |
| 6 | + <remove fileExtension=".dat" /> |
| 7 | + <remove fileExtension=".dll" /> |
| 8 | + <remove fileExtension=".webcil" /> |
| 9 | + <remove fileExtension=".json" /> |
| 10 | + <remove fileExtension=".wasm" /> |
| 11 | + <remove fileExtension=".woff" /> |
| 12 | + <remove fileExtension=".woff2" /> |
| 13 | + <mimeMap fileExtension=".blat" mimeType="application/octet-stream" /> |
| 14 | + <mimeMap fileExtension=".dll" mimeType="application/octet-stream" /> |
| 15 | + <mimeMap fileExtension=".webcil" mimeType="application/octet-stream" /> |
| 16 | + <mimeMap fileExtension=".dat" mimeType="application/octet-stream" /> |
| 17 | + <mimeMap fileExtension=".json" mimeType="application/json" /> |
| 18 | + <mimeMap fileExtension=".wasm" mimeType="application/wasm" /> |
| 19 | + <mimeMap fileExtension=".woff" mimeType="application/font-woff" /> |
| 20 | + <mimeMap fileExtension=".woff2" mimeType="application/font-woff" /> |
| 21 | + </staticContent> |
| 22 | + <httpCompression> |
| 23 | + <dynamicTypes> |
| 24 | + <add mimeType="application/octet-stream" enabled="true" /> |
| 25 | + <add mimeType="application/wasm" enabled="true" /> |
| 26 | + </dynamicTypes> |
| 27 | + </httpCompression> |
| 28 | + <rewrite> |
| 29 | + <rules> |
| 30 | + <rule name="Serve subdir"> |
| 31 | + <match url=".*" /> |
| 32 | + <action type="Rewrite" url="wwwroot\{R:0}" /> |
| 33 | + </rule> |
| 34 | + <rule name="SPA fallback routing" stopProcessing="true"> |
| 35 | + <match url=".*" /> |
| 36 | + <conditions logicalGrouping="MatchAll"> |
| 37 | + <add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" /> |
| 38 | + </conditions> |
| 39 | + <action type="Rewrite" url="wwwroot\" /> |
| 40 | + </rule> |
| 41 | + </rules> |
| 42 | + </rewrite> |
| 43 | + </system.webServer> |
| 44 | +</configuration> |
0 commit comments