Skip to content

Commit 4420ad6

Browse files
committed
fix(cd): updating webconfig for iis and ssr
1 parent b3c4030 commit 4420ad6

2 files changed

Lines changed: 10 additions & 0 deletions

File tree

projects/app-crm/web.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
</httpCompression>
2121
<rewrite>
2222
<rules>
23+
<!-- Remove trailing slash redirect -->
24+
<rule name="Remove Trailing Slash" stopProcessing="true">
25+
<match url="(.*)/$" />
26+
<action type="Redirect" url="{R:1}" redirectType="Permanent" />
27+
</rule>
2328
<rule name="Angular Routes" stopProcessing="true">
2429
<match url=".*" />
2530
<conditions logicalGrouping="MatchAll">

web.config

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@
2020
</httpCompression>
2121
<rewrite>
2222
<rules>
23+
<!-- Remove trailing slash redirect -->
24+
<rule name="Remove Trailing Slash" stopProcessing="true">
25+
<match url="(.*)/$" />
26+
<action type="Redirect" url="{R:1}" redirectType="Permanent" />
27+
</rule>
2328
<rule name="Angular Routes" stopProcessing="true">
2429
<match url=".*" />
2530
<conditions logicalGrouping="MatchAll">

0 commit comments

Comments
 (0)