Skip to content

Commit

Permalink
.
Browse files Browse the repository at this point in the history
  • Loading branch information
illfixit committed Aug 12, 2024
1 parent a0c827f commit ded280b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authority-portal-frontend/src/app/app-routing.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ const getProperRedirectUrl = (fallbackUrl: string) => {

export const CATALOG_REDIRECTS: Routes = REDIRECT_TO_HOME.map((path) => ({
path,
redirectTo: getProperRedirectUrl('catalog'),
redirectTo: (() => getProperRedirectUrl('catalog'))(),
pathMatch: 'full',
}));

export const HOME_REDIRECTS: Routes = REDIRECT_TO_HOME.map((path) => ({
path,
redirectTo: getProperRedirectUrl('home'),
redirectTo: (() => getProperRedirectUrl('home'))(),
pathMatch: 'full',
}));

Expand Down

0 comments on commit ded280b

Please sign in to comment.