mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 23:13:04 +00:00
[DURACOM-344] Adapt SSR page filtering mechanism to a not allowed list
This commit is contained in:
@@ -14,7 +14,14 @@ export const environment: BuildConfig = {
|
||||
inlineCriticalCss: false,
|
||||
transferState: true,
|
||||
replaceRestUrl: false,
|
||||
paths: [ '/home', '/items/', '/entities/', '/collections/', '/communities/', '/bitstream/', '/bitstreams/', '/handle/', '/reload/' ],
|
||||
excludePathRegexes: [
|
||||
/^\/communities\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/browse(\/.*)?$/i,
|
||||
/^\/collections\/[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\/browse(\/.*)?$/i,
|
||||
/^\/browse\//,
|
||||
/^\/search$/,
|
||||
/^\/community-list$/,
|
||||
/^\/statistics$/,
|
||||
],
|
||||
enableSearchComponent: false,
|
||||
enableBrowseComponent: false,
|
||||
},
|
||||
|
Reference in New Issue
Block a user