]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - client/src/app/+admin/blacklist/blacklist.routes.ts
Fix database benchmark in prod mode
[github/Chocobozzz/PeerTube.git] / client / src / app / +admin / blacklist / blacklist.routes.ts
1 import { Routes } from '@angular/router'
2
3 import { BlacklistComponent } from './blacklist.component'
4 import { BlacklistListComponent } from './blacklist-list'
5
6 export const BlacklistRoutes: Routes = [
7 {
8 path: 'blacklist',
9 component: BlacklistComponent,
10 children: [
11 {
12 path: '',
13 redirectTo: 'list',
14 pathMatch: 'full'
15 },
16 {
17 path: 'list',
18 component: BlacklistListComponent,
19 data: {
20 meta: {
21 title: 'Blacklisted videos'
22 }
23 }
24 }
25 ]
26 }
27 ]