From 8b0eaef07545bd59304e32e0dd86427eb5e23457 Mon Sep 17 00:00:00 2001 From: Timo Date: Mon, 24 May 2021 09:38:27 +0300 Subject: [PATCH] fixed RED-1525 --- apps/red-ui/src/app/app-routing.module.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/apps/red-ui/src/app/app-routing.module.ts b/apps/red-ui/src/app/app-routing.module.ts index d950c8d82..9cf153881 100644 --- a/apps/red-ui/src/app/app-routing.module.ts +++ b/apps/red-ui/src/app/app-routing.module.ts @@ -59,6 +59,11 @@ const routes = [ data: { routeGuards: [AuthGuard, RedRoleGuard, AppStateGuard] } + }, + { + path: '**', + redirectTo: 'main/projects', + pathMatch: 'full' } ];