Skip to content

Commit

Permalink
Updated www subdomain enforcement
Browse files Browse the repository at this point in the history
  • Loading branch information
madskristensen authored May 27, 2020
1 parent 4757450 commit 1096716
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Web.config
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
<rule name="Redirects to www.schemastore.org" patternSyntax="ECMAScript" stopProcessing="true">
<match url=".*" />
<conditions logicalGrouping="MatchAny">
<add input="{HTTP_HOST}" pattern="^schemastore.org" />
<add input="{HTTP_HOST}" pattern="^(schemastore.org)+" />
</conditions>
<action type="Redirect" url="https://www.schemastore.org/{R:0}" appendQueryString="true" redirectType="Temporary" />
</rule>
Expand Down

0 comments on commit 1096716

Please sign in to comment.