зеркало из https://github.com/telerik/blazor-docs.git
docs(common): Remove .html from API pages that end with .resources (#1306)
This commit is contained in:
Родитель
a53b9085d3
Коммит
dadaf675a0
16
web.config
16
web.config
|
@ -68,10 +68,6 @@
|
|||
<match url="^$" />
|
||||
<action type="Redirect" url="introduction" />
|
||||
</rule>
|
||||
<rule name="redirect_resources" enabled="true" stopProcessing="true">
|
||||
<match url="(.*)\.Resources\.html$" />
|
||||
<action type="None" />
|
||||
</rule>
|
||||
<rule name="remove_html_extension" enabled="true" stopProcessing="true">
|
||||
<match url="(.*)\.html$" />
|
||||
<action type="Redirect" url="{R:1}" />
|
||||
|
@ -105,5 +101,15 @@
|
|||
<error statusCode="404" path="40x.html" />
|
||||
</httpErrors>
|
||||
</system.webServer>
|
||||
|
||||
<location path="api">
|
||||
<system.webServer>
|
||||
<security>
|
||||
<requestFiltering>
|
||||
<fileExtensions>
|
||||
<remove fileExtension=".resources" />
|
||||
</fileExtensions>
|
||||
</requestFiltering>
|
||||
</security>
|
||||
</system.webServer>
|
||||
</location>
|
||||
</configuration>
|
||||
|
|
Загрузка…
Ссылка в новой задаче