Skip to content

Commit 6b51b88

Browse files
authored
Merge pull request #3659 from IgniteUI/sstoychev/revert-ssr
fix(*): disabling ssr for the time being
2 parents c87f23d + 950d2c7 commit 6b51b88

File tree

4 files changed

+7
-32
lines changed

4 files changed

+7
-32
lines changed

angular.json

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,7 @@
3939
"node_modules"
4040
]
4141
},
42-
"browser": "src/main.ts",
43-
"server": "src/main.server.ts",
44-
"outputMode": "static",
45-
"ssr": {
46-
"entry": "src/server.ts"
47-
}
42+
"browser": "src/main.ts"
4843
},
4944
"configurations": {
5045
"production": {
@@ -164,12 +159,7 @@
164159
]
165160
},
166161
"preserveSymlinks": true,
167-
"browser": "projects/app-lob/src/main.ts",
168-
"server": "projects/app-lob/src/main.server.ts",
169-
"outputMode": "static",
170-
"ssr": {
171-
"entry": "projects/app-lob/src/server.ts"
172-
}
162+
"browser": "projects/app-lob/src/main.ts"
173163
},
174164
"configurations": {
175165
"production": {
@@ -294,12 +284,7 @@
294284
"node_modules"
295285
]
296286
},
297-
"browser": "projects/app-crm/src/main.ts",
298-
"server": "projects/app-crm/src/main.server.ts",
299-
"outputMode": "static",
300-
"ssr": {
301-
"entry": "projects/app-crm/src/server.ts"
302-
}
287+
"browser": "projects/app-crm/src/main.ts"
303288
},
304289
"configurations": {
305290
"production": {

azure-devops/templates/cd-template.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -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"

projects/app-crm/web.config

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
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>
2823
<rule name="Angular Routes" stopProcessing="true">
2924
<match url=".*" />
3025
<conditions logicalGrouping="MatchAll">

web.config

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@
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>
2823
<rule name="Angular Routes" stopProcessing="true">
2924
<match url=".*" />
3025
<conditions logicalGrouping="MatchAll">

0 commit comments

Comments
 (0)