74053: redirectOn404Or401

This commit is contained in:
Kristof De Langhe
2020-10-27 11:25:12 +01:00
parent d4bd128b67
commit 736704aae8
8 changed files with 36 additions and 24 deletions

View File

@@ -55,7 +55,7 @@ export function getDSORoute(dso: DSpaceObject): string {
}
}
export const UNAUTHORIZED_PATH = 'unauthorized';
export const UNAUTHORIZED_PATH = '401';
export function getUnauthorizedRoute() {
return `/${UNAUTHORIZED_PATH}`;