From 1a03bea0c42fa1064ce4770157b4fd2e3edd5565 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Jun 2019 15:43:45 +0200 Subject: [PATCH] Redirect to local route when getting peertube account --- client/src/app/+accounts/accounts-routing.module.ts | 4 ++++ 1 file changed, 4 insertions(+) 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,