mirror of https://github.com/Chocobozzz/PeerTube
18 lines
348 B
TypeScript
18 lines
348 B
TypeScript
import { RouterConfig } from '@angular/router';
|
|
|
|
import { AccountRoutes } from './account';
|
|
import { LoginRoutes } from './login';
|
|
import { VideosRoutes } from './videos';
|
|
|
|
export const routes: RouterConfig = [
|
|
{
|
|
path: '',
|
|
redirectTo: '/videos/list',
|
|
pathMatch: 'full'
|
|
},
|
|
|
|
...AccountRoutes,
|
|
...LoginRoutes,
|
|
...VideosRoutes
|
|
];
|