fix: Adding redirects for the new API

This commit is contained in:
imtodor 2019-02-06 19:36:24 +02:00
Родитель 0cf920eb44
Коммит 383b3deb0c
1 изменённых файлов: 20 добавлений и 0 удалений

Просмотреть файл

@ -47,6 +47,26 @@
<match url="^getting-started.html$" />
<action type="Redirect" url="getting-started" />
</rule>
<rule name="api-reference-compositeevents" enabled="true" stopProcessing="true">
<match url="^api/(.*)_justmock_compositeevents(.*)" />
<action type="Redirect" url="api/JustDecompile.API.CompositeEvents" />
</rule>
<rule name="api-reference-setup" enabled="true" stopProcessing="true">
<match url="^api/(.*)_justdecompile_setup(.*)" />
<action type="Redirect" url="api/JustDecompile.API.Setup" />
</rule>
<rule name="api-reference-core-services" enabled="true" stopProcessing="true">
<match url="^api/(.*)_justdecompile_core_services(.*)" />
<action type="Redirect" url="api/JustDecompile.API.Core.Services" />
</rule>
<rule name="api-reference-core" enabled="true" stopProcessing="true">
<match url="^api/(.*)_justdecompile_core(.*)" />
<action type="Redirect" url="api/JustDecompile.API.Core" />
</rule>
<rule name="api-reference-r_project_telerikjustdecompile" enabled="true" stopProcessing="true">
<match url="^api/((.*?)_)+" />
<action type="Redirect" url="api/" />
</rule>
</rules>
</rewrite>
<httpProtocol>