mirror of
https://github.com/Kareadita/Kavita.git
synced 2025-06-03 05:34:21 -04:00
16 lines
509 B
TypeScript
16 lines
509 B
TypeScript
import { Routes } from '@angular/router';
|
|
import { AuthGuard } from '../_guards/auth.guard';
|
|
import { UserPreferencesComponent } from '../user-settings/user-preferences/user-preferences.component';
|
|
|
|
export const routes: Routes = [
|
|
{path: '**', component: UserPreferencesComponent, pathMatch: 'full'},
|
|
{
|
|
path: '',
|
|
runGuardsAndResolvers: 'always',
|
|
canActivate: [AuthGuard],
|
|
children: [
|
|
{path: '', component: UserPreferencesComponent, pathMatch: 'full'},
|
|
]
|
|
}
|
|
];
|