X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2Fapp-routing.module.ts;h=30e615b3ed0a9158762cc32db7b3fd2ebd42609b;hb=94831479f5facff9469540a3d49dd347b88bdf5a;hp=04c53548eb375999361ab90a478ed9964450bcaf;hpb=a51bad1accfade25916db0dadaeb879a182cf19b;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index 04c53548e..30e615b3e 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts @@ -2,6 +2,7 @@ import { NgModule } from '@angular/core' import { RouterModule, Routes } from '@angular/router' import { PreloadSelectedModulesList } from './core' +import { AppComponent } from '@app/app.component' const routes: Routes = [ { @@ -20,6 +21,14 @@ const routes: Routes = [ path: 'video-channels', loadChildren: './+video-channels/video-channels.module#VideoChannelsModule' }, + { + path: 'about', + loadChildren: './+about/about.module#AboutModule' + }, + { + path: '', + component: AppComponent // Avoid 404, app component will redirect dynamically + }, { path: '**', loadChildren: './+page-not-found/page-not-found.module#PageNotFoundModule'