Redirect to local route when getting peertube account

pull/1913/head
Chocobozzz 2019-06-07 15:43:45 +02:00
parent 12bec528aa
commit 1a03bea0c4
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 4 additions and 0 deletions

View 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,