Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions config/config.example.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,7 @@ ssr:
# may NOT be indexable by search engine crawlers (like Google Scholar). For search engine crawlers to fully index your site,
# this "excludePathPatterns" should NEVER exclude SSR from the homepage, community/collection pages or item/entity pages.
excludePathPatterns:
- pattern: "^/communities/[a-fA-F0-9-]{36}/browse(/.*)?$"
- pattern: "^/collections/[a-fA-F0-9-]{36}/browse(/.*)?$"
- pattern: "^/(communities|collections)/[a-fA-F0-9-]{36}/(browse|search)"
- pattern: "^/browse/"
- pattern: "^/search$"
- pattern: "^/community-list$"
Expand Down
3 changes: 1 addition & 2 deletions src/config/config.util.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ describe('Config Util', () => {
transferState: true,
replaceRestUrl: true,
excludePathPatterns: [
{ pattern: '^/communities/[a-fA_F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/collections/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/(communities|collections)/[a-fA-F0-9-]{36}/(browse|search)' },
{ pattern: '^/browse/' },
{ pattern: '^/search' },
{ pattern: '^/community-list$' },
Expand Down
3 changes: 1 addition & 2 deletions src/environments/environment.production.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,7 @@ export const environment: Partial<BuildConfig> = {
// may NOT be indexable by search engine crawlers (like Google Scholar). For search engine crawlers to fully index your site,
// this "excludePathPatterns" should NEVER exclude SSR from the homepage, community/collection pages or item/entity pages.
excludePathPatterns: [
{ pattern: '^/communities/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/collections/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/(communities|collections)/[a-fA-F0-9-]{36}/(browse|search)' },
{ pattern: '^/browse/' },
{ pattern: '^/search' },
{ pattern: '^/community-list$' },
Expand Down
3 changes: 1 addition & 2 deletions src/environments/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ export const environment: BuildConfig = {
transferState: true,
replaceRestUrl: false,
excludePathPatterns: [
{ pattern: '^/communities/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/collections/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/(communities|collections)/[a-fA-F0-9-]{36}/(browse|search)' },
{ pattern: '^/browse/' },
{ pattern: '^/search' },
{ pattern: '^/community-list$' },
Expand Down
3 changes: 1 addition & 2 deletions src/environments/environment.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,7 @@ export const environment: Partial<BuildConfig> = {
transferState: true,
replaceRestUrl: false,
excludePathPatterns: [
{ pattern: '^/communities/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/collections/[a-fA-F0-9-]{36}/browse(/.*)?$' },
{ pattern: '^/(communities|collections)/[a-fA-F0-9-]{36}/(browse|search)' },
{ pattern: '^/browse/' },
{ pattern: '^/search' },
{ pattern: '^/community-list$' },
Expand Down
Loading