mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
[DURACOM-344] Adapt SSR page filtering mechanism to a not allowed list
(cherry picked from commit b1c5460bbb
)
This commit is contained in:

committed by
github-actions[bot]
![github-actions[bot]](/assets/img/avatar_default.png)
parent
d6c8be6983
commit
4bb7b54be9
@@ -15,7 +15,14 @@ export const environment: Partial<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