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.

619 B
Raw Blame
import { NgModule } from '@angular/core';
import { Routes, RouterModule } from '@angular/router';
import { MangaReaderComponent } from './_components/manga-reader/manga-reader.component';

const routes: Routes = [
  {
      path: ':chapterId',
      component: MangaReaderComponent
  },
  {
    // This will allow the MangaReader to have a list to use for next/prev chapters rather than natural sort order
    path: ':chapterId/list/:listId',
    component: MangaReaderComponent
}
];


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