]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blame - client/src/app/app-routing.module.ts
Client: avoid loading javascript ressource over the network
[github/Chocobozzz/PeerTube.git] / client / src / app / app-routing.module.ts
CommitLineData
693b1aba
C
1import { NgModule } from '@angular/core';
2import { Routes, RouterModule } from '@angular/router';
3
4const routes: Routes = [
5 {
6 path: '',
7 redirectTo: '/videos/list',
8 pathMatch: 'full'
b99290b1
C
9 },
10 {
11 path: 'admin',
12 loadChildren: './+admin#AdminModule'
693b1aba
C
13 }
14];
15
16@NgModule({
17 imports: [ RouterModule.forRoot(routes) ],
18 exports: [ RouterModule ]
19})
20export class AppRoutingModule {}
21