Skip to content

Commit

Permalink
Fix: Redirect old CoC url to the JSF one
Browse files Browse the repository at this point in the history
Fix #192
  • Loading branch information
Anton Molleda committed Sep 14, 2017
1 parent 444274e commit 459cb90
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions web.config
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@
<action type="Redirect" url="https://sonarwhal.com{REQUEST_URI}" redirectType="Permanent"
appendQueryString="true"/>
</rule>
<rule name="Redirect to JSF CoC" stopProcessing="true">
<match url="(.*)"/>
<conditions>
<add input="{REQUEST_URI}" pattern="/about/code_of_conduct.html" />
</conditions>
<action type="Redirect" url="https://js.foundation/community/code-of-conduct" redirectType="Permanent"
appendQueryString="true"/>
</rule>
<rule name="wellknown" stopProcessing="true">
<match url="^\.well-known.*" />
<action type="Rewrite" url="{REQUEST_URI}"/>
Expand Down

0 comments on commit 459cb90

Please sign in to comment.