From: Chocobozzz Date: Fri, 7 Jun 2019 13:43:45 +0000 (+0200) Subject: Redirect to local route when getting peertube account X-Git-Tag: v1.4.0-rc.1~180 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1a03bea0c42fa1064ce4770157b4fd2e3edd5565;p=oweals%2Fpeertube.git Redirect to local route when getting peertube account --- diff --git a/client/src/app/+accounts/accounts-routing.module.ts b/client/src/app/+accounts/accounts-routing.module.ts index 55bce351a..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,