From b9c4fcb3329ee45f03650e8bd20a84cd23a6f486 Mon Sep 17 00:00:00 2001 From: Brandon Clayton <bclayton@usgs.gov> Date: Tue, 18 Feb 2025 10:23:03 -0700 Subject: [PATCH] update routes --- projects/nshmp-apps/src/app/app.routes.ts | 3 +-- projects/nshmp-ws/src/app/app.routes.ts | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/projects/nshmp-apps/src/app/app.routes.ts b/projects/nshmp-apps/src/app/app.routes.ts index a6c137f6a..e4a7a888a 100644 --- a/projects/nshmp-apps/src/app/app.routes.ts +++ b/projects/nshmp-apps/src/app/app.routes.ts @@ -80,9 +80,8 @@ const routes: Routes = [ data: { label: 'Services', }, - loadComponent: () => - import('./services/app.component').then(com => com.AppComponent), path: 'services', + redirectTo: 'ws/nshmp', }, // Error pages for reverse proxy errors { diff --git a/projects/nshmp-ws/src/app/app.routes.ts b/projects/nshmp-ws/src/app/app.routes.ts index 9f4109e0c..19113c311 100644 --- a/projects/nshmp-ws/src/app/app.routes.ts +++ b/projects/nshmp-ws/src/app/app.routes.ts @@ -9,7 +9,7 @@ const routes: Routes = [ label: 'Services', }, loadComponent: () => - import('./dashboard/app.component').then(com => com.AppComponent), + import('./services/app.component').then(com => com.AppComponent), path: '', }, { -- GitLab