frontend: Update routing to redirect to home component at root path

This commit is contained in:
Carlos Santos 2025-03-13 13:53:42 +01:00
parent ac2e9a59f4
commit 0a8a0bb2fb
2 changed files with 2 additions and 5 deletions

View File

@ -92,5 +92,5 @@ export const baseRoutes: Routes = [
},
// Redirect all other routes to home
{ path: '**', redirectTo: 'home' }
{ path: '**', redirectTo: '' }
];

View File

@ -2,7 +2,4 @@ import { Routes } from '@angular/router';
import { HomeComponent } from '@app/pages/home/home.component';
import { baseRoutes } from 'projects/shared-meet-components/src/public-api';
export const routes: Routes = [
{ path: 'home', component: HomeComponent, /*canActivate: [standaloneModeGuard]*/ },
...baseRoutes
];
export const routes: Routes = [{ path: '', component: HomeComponent }, ...baseRoutes];