PeerTube/client/src/app/app-routing.module.ts

18 lines
326 B
TypeScript
Raw Normal View History

2016-11-20 17:18:15 +01:00
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 {}