aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/app-routing.module.ts
diff options
context:
space:
mode:
authorKimsible <kimsible@users.noreply.github.com>2021-04-28 23:45:23 +0200
committerKimsible <kimsible@users.noreply.github.com>2021-05-05 11:48:25 +0200
commit718873964490d1aa31b0e99852002165637e4b9e (patch)
tree55b66793e382e901a4fbceb15fc2b5822e54e650 /client/src/app/app-routing.module.ts
parent69e076ddb0deda9e4120bab095d3369bb19fbd1e (diff)
downloadPeerTube-718873964490d1aa31b0e99852002165637e4b9e.tar.gz
PeerTube-718873964490d1aa31b0e99852002165637e4b9e.tar.zst
PeerTube-718873964490d1aa31b0e99852002165637e4b9e.zip
Make /a and /c default URLs for accounts and channels
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r--client/src/app/app-routing.module.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts
index 23fd52e8b..0a43ab0ad 100644
--- a/client/src/app/app-routing.module.ts
+++ b/client/src/app/app-routing.module.ts
@@ -27,11 +27,11 @@ const routes: Routes = [
27 loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule) 27 loadChildren: () => import('./+signup/+verify-account/verify-account.module').then(m => m.VerifyAccountModule)
28 }, 28 },
29 { 29 {
30 path: 'accounts', 30 path: 'a',
31 loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule) 31 loadChildren: () => import('./+accounts/accounts.module').then(m => m.AccountsModule)
32 }, 32 },
33 { 33 {
34 path: 'video-channels', 34 path: 'c',
35 loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule) 35 loadChildren: () => import('./+video-channels/video-channels.module').then(m => m.VideoChannelsModule)
36 }, 36 },
37 { 37 {
@@ -67,12 +67,12 @@ const routes: Routes = [
67 redirectTo: 'videos/watch/playlist' 67 redirectTo: 'videos/watch/playlist'
68 }, 68 },
69 { 69 {
70 path: 'a', 70 path: 'accounts',
71 redirectTo: 'accounts' 71 redirectTo: 'a'
72 }, 72 },
73 { 73 {
74 path: 'c', 74 path: 'video-channels',
75 redirectTo: 'video-channels' 75 redirectTo: 'c'
76 }, 76 },
77 { 77 {
78 matcher: (url): UrlMatchResult => { 78 matcher: (url): UrlMatchResult => {