Skip to content

Commit 651ad39

Browse files
authored
Merge pull request #3707 from IgniteUI/mdragnev/try-building-ssr-differently
chore(ci): try renaming index.csr.html to index.html instead of chang…
2 parents c97e3e2 + 3163bed commit 651ad39

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

azure-devops/templates/cd-template.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ steps:
6161
workingDir: ${{ parameters.workingDir }}
6262
verbose: false
6363
customCommand: ${{ parameters.customCommand }}
64-
64+
6565
# - task: PowerShell@2
6666
# displayName: 'Replace with licensed igniteui-angular'
6767
# inputs:
@@ -126,10 +126,10 @@ steps:
126126
displayName: 'Update web.config file'
127127
workingDirectory: ${{ parameters.workingDir }}
128128
129-
# - script: |
130-
# mv "$(Build.SourcesDirectory)/${{ parameters.targetFolder }}/browser/index.csr.html" "$(Build.SourcesDirectory)/${{ parameters.targetFolder }}/browser/index.html"
131-
# echo "File renamed successfully."
132-
# displayName: Rename index.csr.html to index.html
129+
- script: |
130+
mv "$(Build.SourcesDirectory)/${{ parameters.targetFolder }}/browser/index.csr.html" "$(Build.SourcesDirectory)/${{ parameters.targetFolder }}/browser/index.html"
131+
echo "File renamed successfully."
132+
displayName: Rename index.csr.html to index.html
133133
134134
- script: |
135135
sourcePath="$(Build.SourcesDirectory)/${{ parameters.targetFolder }}/browser"

web.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<add input="{REQUEST_FILENAME}" matchType="IsFile" negate="true" />
2727
<add input="{REQUEST_FILENAME}" matchType="IsDirectory" negate="true" />
2828
</conditions>
29-
<action type="Rewrite" url="/angular-demos/index.csr.html" />
29+
<action type="Rewrite" url="/angular-demos/" />
3030
</rule>
3131
<rule name="Angular Root Redirect" enabled="true" stopProcessing="true">
3232
<match url="^/?$" />

0 commit comments

Comments
 (0)