Skip to content

Commit dadaf67

Browse files
authored
docs(common): Remove .html from API pages that end with .resources (#1306)
1 parent a53b908 commit dadaf67

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

web.config

+11-5
Original file line numberDiff line numberDiff line change
@@ -68,10 +68,6 @@
6868
<match url="^$" />
6969
<action type="Redirect" url="introduction" />
7070
</rule>
71-
<rule name="redirect_resources" enabled="true" stopProcessing="true">
72-
<match url="(.*)\.Resources\.html$" />
73-
<action type="None" />
74-
</rule>
7571
<rule name="remove_html_extension" enabled="true" stopProcessing="true">
7672
<match url="(.*)\.html$" />
7773
<action type="Redirect" url="{R:1}" />
@@ -105,5 +101,15 @@
105101
<error statusCode="404" path="40x.html" />
106102
</httpErrors>
107103
</system.webServer>
108-
104+
<location path="api">
105+
<system.webServer>
106+
<security>
107+
<requestFiltering>
108+
<fileExtensions>
109+
<remove fileExtension=".resources" />
110+
</fileExtensions>
111+
</requestFiltering>
112+
</security>
113+
</system.webServer>
114+
</location>
109115
</configuration>

0 commit comments

Comments
 (0)