[DSC-287] Created new page error 500, added guard to check for initial api request, redirect to page 500

This commit is contained in:
Rezart Vata
2021-11-04 14:21:12 +01:00
parent 2fe9fbd584
commit fc6678515a
10 changed files with 164 additions and 26 deletions

View File

@@ -89,6 +89,12 @@ export function getPageNotFoundRoute() {
return `/${PAGE_NOT_FOUND_PATH}`;
}
export const INTERNAL_SERVER_ERROR = '500';
export function getPageInternalServerErrorRoute() {
return `/${INTERNAL_SERVER_ERROR}`;
}
export const INFO_MODULE_PATH = 'info';
export function getInfoModulePath() {
return `/${INFO_MODULE_PATH}`;