Skip to content

Commit 7ff797c

Browse files
Mattia VianelliMattia Vianelli
authored andcommitted
DSC-2817 Updated config in environment.production.ts
1 parent d68a6c9 commit 7ff797c

2 files changed

Lines changed: 1 addition & 29 deletions

File tree

src/environments/environment.prod.ts

Lines changed: 0 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -16,32 +16,4 @@ export const environment = {
1616
// NOTE: Space is capitalized because 'namespace' is a reserved string in TypeScript
1717
nameSpace: '/server',
1818
},
19-
ssr: {
20-
enabled: true,
21-
enablePerformanceProfiler: false,
22-
inlineCriticalCss: false,
23-
transferState: false,
24-
replaceRestUrl: true,
25-
excludePathPatterns: [
26-
{
27-
pattern: '^/communities/[a-f0-9-]{36}/browse(/.*)?$',
28-
flag: 'i',
29-
},
30-
{
31-
pattern: '^/collections/[a-f0-9-]{36}/browse(/.*)?$',
32-
flag: 'i',
33-
},
34-
{ pattern: '^/browse/' },
35-
{ pattern: '^/search' },
36-
{ pattern: '^/community-list$' },
37-
{ pattern: '^/statistics/?' },
38-
{ pattern: '^/admin/' },
39-
{ pattern: '^/processes/?' },
40-
{ pattern: '^/notifications/' },
41-
{ pattern: '^/access-control/' },
42-
{ pattern: '^/health$' },
43-
],
44-
enableSearchComponent: false,
45-
enableBrowseComponent: false,
46-
},
4719
};

src/environments/environment.production.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export const environment: Partial<BuildConfig> = {
88
enabled: true,
99
enablePerformanceProfiler: false,
1010
inlineCriticalCss: false,
11-
transferState: true,
11+
transferState: false,
1212
replaceRestUrl: true,
1313
excludePathPatterns: [
1414
{

0 commit comments

Comments
 (0)