X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=client%2Fsrc%2Fapp%2F%2Baccounts%2Faccounts-routing.module.ts;h=45b24eb55e49ee43da1bc3740253476c670d7d2c;hb=24e7916c6897bbb38e057cdf1a102286006be964;hp=ffe606b4372aa5b7d7c56a80e4f0c71c00c92b31;hpb=170726f523ff48f89da45473fc53ca54784f43dd;p=github%2FChocobozzz%2FPeerTube.git diff --git a/client/src/app/+accounts/accounts-routing.module.ts b/client/src/app/+accounts/accounts-routing.module.ts index ffe606b43..45b24eb55 100644 --- a/client/src/app/+accounts/accounts-routing.module.ts +++ b/client/src/app/+accounts/accounts-routing.module.ts @@ -7,6 +7,10 @@ import { AccountAboutComponent } from './account-about/account-about.component' import { AccountVideoChannelsComponent } from './account-video-channels/account-video-channels.component' const accountsRoutes: Routes = [ + { + path: 'peertube', + redirectTo: '/videos/local' + }, { path: ':accountId', component: AccountsComponent, @@ -14,7 +18,7 @@ const accountsRoutes: Routes = [ children: [ { path: '', - redirectTo: 'videos', + redirectTo: 'video-channels', pathMatch: 'full' }, { @@ -23,6 +27,10 @@ const accountsRoutes: Routes = [ data: { meta: { title: 'Account videos' + }, + reuse: { + enabled: true, + key: 'account-videos-list' } } },