mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 06:53:03 +00:00
[DURACOM-344] refactor solution to avoid double slashes
This commit is contained in:
@@ -15,16 +15,23 @@ export const environment: BuildConfig = {
|
||||
transferState: true,
|
||||
replaceRestUrl: false,
|
||||
excludePathPatterns: [
|
||||
/^\/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\//,
|
||||
/^\/admin$/,
|
||||
/^\/processes$/,
|
||||
/^\/notifications$/,
|
||||
/^\/health$/,
|
||||
{
|
||||
pattern: '^/communities/[a-f0-9-]{36}/browse(/.*)?$',
|
||||
flag: 'i',
|
||||
},
|
||||
{
|
||||
pattern: '^/collections/[a-f0-9-]{36}/browse(/.*)?$',
|
||||
flag: 'i',
|
||||
},
|
||||
{ pattern: '^/browse/' },
|
||||
{ pattern: '^/search' },
|
||||
{ pattern: '^/community-list$' },
|
||||
{ pattern: '^/statistics/?' },
|
||||
{ pattern: '^/admin/' },
|
||||
{ pattern: '^/processes/?' },
|
||||
{ pattern: '^/notifications/' },
|
||||
{ pattern: '^/access-control/' },
|
||||
{ pattern: '^/health$' },
|
||||
],
|
||||
enableSearchComponent: false,
|
||||
enableBrowseComponent: false,
|
||||
|
Reference in New Issue
Block a user