mirror of https://github.com/Chocobozzz/PeerTube
18 lines
326 B
TypeScript
18 lines
326 B
TypeScript
|
import { NgModule } from '@angular/core';
|
||
|
import { Routes, RouterModule } from '@angular/router';
|
||
|
|
||
|
const routes: Routes = [
|
||
|
{
|
||
|
path: '',
|
||
|
redirectTo: '/videos/list',
|
||
|
pathMatch: 'full'
|
||
|
}
|
||
|
];
|
||
|
|
||
|
@NgModule({
|
||
|
imports: [ RouterModule.forRoot(routes) ],
|
||
|
exports: [ RouterModule ]
|
||
|
})
|
||
|
export class AppRoutingModule {}
|
||
|
|