File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 flag : " i"
3232 - pattern : " ^/collections/[a-f0-9-]{36}/browse(/.*)?$"
3333 flag : " i"
34+ # Exclude community/collection sub-routes that cause SSR hydration flicker.
35+ # The base route (/communities/UUID) keeps SSR for SEO purposes.
36+ - pattern : " ^/communities/[a-f0-9-]{36}/(search|subcoms-cols)$"
37+ flag : " i"
38+ - pattern : " ^/collections/[a-f0-9-]{36}/search$"
39+ flag : " i"
3440 - pattern : " ^/browse/"
3541 - pattern : " ^/search$"
3642 - pattern : " ^/community-list$"
Original file line number Diff line number Diff line change @@ -19,6 +19,16 @@ export const environment: Partial<BuildConfig> = {
1919 pattern : '^/collections/[a-f0-9-]{36}/browse(/.*)?$' ,
2020 flag : 'i' ,
2121 } ,
22+ // Exclude community/collection sub-routes that cause SSR hydration flicker.
23+ // The base route (/communities/UUID) keeps SSR for SEO purposes.
24+ {
25+ pattern : '^/communities/[a-f0-9-]{36}/(search|subcoms-cols)$' ,
26+ flag : 'i' ,
27+ } ,
28+ {
29+ pattern : '^/collections/[a-f0-9-]{36}/search$' ,
30+ flag : 'i' ,
31+ } ,
2232 { pattern : '^/browse/' } ,
2333 { pattern : '^/search' } ,
2434 { pattern : '^/community-list$' } ,
Original file line number Diff line number Diff line change @@ -23,6 +23,16 @@ export const environment: BuildConfig = {
2323 pattern : '^/collections/[a-f0-9-]{36}/browse(/.*)?$' ,
2424 flag : 'i' ,
2525 } ,
26+ // Exclude community/collection sub-routes that cause SSR hydration flicker.
27+ // The base route (/communities/UUID) keeps SSR for SEO purposes.
28+ {
29+ pattern : '^/communities/[a-f0-9-]{36}/(search|subcoms-cols)$' ,
30+ flag : 'i' ,
31+ } ,
32+ {
33+ pattern : '^/collections/[a-f0-9-]{36}/search$' ,
34+ flag : 'i' ,
35+ } ,
2636 { pattern : '^/browse/' } ,
2737 { pattern : '^/search' } ,
2838 { pattern : '^/community-list$' } ,
Original file line number Diff line number Diff line change @@ -24,6 +24,16 @@ export const environment: Partial<BuildConfig> = {
2424 pattern : '^/collections/[a-f0-9-]{36}/browse(/.*)?$' ,
2525 flag : 'i' ,
2626 } ,
27+ // Exclude community/collection sub-routes that cause SSR hydration flicker.
28+ // The base route (/communities/UUID) keeps SSR for SEO purposes.
29+ {
30+ pattern : '^/communities/[a-f0-9-]{36}/(search|subcoms-cols)$' ,
31+ flag : 'i' ,
32+ } ,
33+ {
34+ pattern : '^/collections/[a-f0-9-]{36}/search$' ,
35+ flag : 'i' ,
36+ } ,
2737 { pattern : '^/browse/' } ,
2838 { pattern : '^/search' } ,
2939 { pattern : '^/community-list$' } ,
You can’t perform that action at this time.
0 commit comments