15 lines
451 B
TypeScript
15 lines
451 B
TypeScript
import { Routes } from '@angular/router';
|
|
|
|
export const routes: Routes = [
|
|
{
|
|
path: 'host',
|
|
loadComponent: () => import('./features/host/host-shell.component').then((m) => m.HostShellComponent),
|
|
},
|
|
{
|
|
path: 'player',
|
|
loadComponent: () => import('./features/player/player-shell.component').then((m) => m.PlayerShellComponent),
|
|
},
|
|
{ path: '', pathMatch: 'full', redirectTo: 'player' },
|
|
{ path: '**', redirectTo: 'player' },
|
|
];
|