Skip to content

Commit 17662f6

Browse files
authored
Merge pull request #3658 from IgniteUI/vnext
updating prod to resolve ssr issue
2 parents 97fcaa0 + c87f23d commit 17662f6

3 files changed

Lines changed: 11 additions & 1 deletion

File tree

azure-devops/templates/cd-template.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ steps:
176176
inputs:
177177
script: |
178178
# Check for changes
179-
changeCount=$(git status --porcelain | wc -l)
179+
changeCount=$(git status --porcelain "../${{ parameters.submoduleDir }}" | wc -l)
180180
if [ "$changeCount" -eq 0 ]; then
181181
echo "##vso[task.logissue type=warning]No changes to commit."
182182
exit 0

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)