Skip to content

Kavita is a fast, feature rich, cross platform reading server. Built with the goal of being a full solution for all your reading needs. Setup your own server and share your reading collection with your friends and family.

605 B
Raw Blame
import { NgModule } from "@angular/core";
import { Routes, RouterModule } from "@angular/router";
import { AuthGuard } from "../_guards/auth.guard";
import { AllSeriesComponent } from "./_components/all-series/all-series.component";


const routes: Routes = [
  {path: '**', component: AllSeriesComponent, pathMatch: 'full', canActivate: [AuthGuard]},
  {
    path: '',
    component: AllSeriesComponent,
    runGuardsAndResolvers: 'always',
    canActivate: [AuthGuard],
  }
];


@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class AllSeriesRoutingModule { }