aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-07 15:43:45 +0200
committerChocobozzz <me@florianbigard.com>2019-06-07 15:43:45 +0200
commit1a03bea0c42fa1064ce4770157b4fd2e3edd5565 (patch)
treefb867d4d68ed77b8e803b96f0b2eb91bfc157ec0
parent12bec528aafd895075e19486b87b64f0f58581ac (diff)
downloadPeerTube-1a03bea0c42fa1064ce4770157b4fd2e3edd5565.tar.gz
PeerTube-1a03bea0c42fa1064ce4770157b4fd2e3edd5565.tar.zst
PeerTube-1a03bea0c42fa1064ce4770157b4fd2e3edd5565.zip
Redirect to local route when getting peertube account
-rw-r--r--client/src/app/+accounts/accounts-routing.module.ts4
1 files changed, 4 insertions, 0 deletions
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
@@ -8,6 +8,10 @@ import { AccountVideoChannelsComponent } from './account-video-channels/account-
8 8
9const accountsRoutes: Routes = [ 9const accountsRoutes: Routes = [
10 { 10 {
11 path: 'peertube',
12 redirectTo: '/videos/local'
13 },
14 {
11 path: ':accountId', 15 path: ':accountId',
12 component: AccountsComponent, 16 component: AccountsComponent,
13 canActivateChild: [ MetaGuard ], 17 canActivateChild: [ MetaGuard ],