Skip to content

Commit edcdff6

Browse files
committed
web.config changes
1 parent e43c7bd commit edcdff6

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

web.config

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,16 @@
99
<match url=".*" />
1010
<action type="Rewrite" url="server.js" />
1111
</rule>
12+
<rule name="AddTrailingSlash" stopProcessing="true">
13+
<match url="^(.*[^/])$" ignoreCase="true" />
14+
<conditions logicalGrouping="MatchAll">
15+
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
16+
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
17+
</conditions>
18+
<action type="Redirect"
19+
url="{R:1}/"
20+
redirectType="Permanent" />
21+
</rule>
1222
</rules>
1323
</rewrite>
1424
</system.webServer>

0 commit comments

Comments
 (0)