Skip to content

Commit ed88199

Browse files
Fixed rewrite rule
1 parent 8387fe4 commit ed88199

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Web.config

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,12 @@
7171
<action type="Redirect" url="https://www.schemastore.org/{R:0}" appendQueryString="true" redirectType="Temporary" />
7272
</rule>
7373

74-
<rule name="Sub domain">
74+
<rule name="Sub domain" stopProcessing="true">
7575
<match url="^(.+)"/>
7676
<conditions logicalGrouping="MatchAll">
7777
<add input="{HTTP_HOST}" pattern="^(json|css|javascript)\.(.+)"/>
7878
</conditions>
79-
<action type="Rewrite" url="https://www.schemastore.org/{R:1}"/>
79+
<action type="Redirect" url="https://www.schemastore.org/{R:1}"/>
8080
</rule>
8181

8282
<!--<rule name="Remove trailing slash" stopProcessing="true">

0 commit comments

Comments
 (0)