Redirect to local route when getting peertube account
authorChocobozzz <me@florianbigard.com>
Fri, 7 Jun 2019 13:43:45 +0000 (15:43 +0200)
committerChocobozzz <me@florianbigard.com>
Fri, 7 Jun 2019 13:43:45 +0000 (15:43 +0200)
client/src/app/+accounts/accounts-routing.module.ts

index 55bce351a58692f9362ed2b98d80a432447d2e55..45b24eb55e49ee43da1bc3740253476c670d7d2c 100644 (file)
@@ -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,