diff options
author | Chocobozzz <me@florianbigard.com> | 2022-04-05 14:03:52 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2022-04-15 09:49:35 +0200 |
commit | 384ba8b77a8e4805c099f5ea12b41c2ca5776e26 (patch) | |
tree | 6b517033d9265d283677b85e0f57486e0e7fd8cf /client/src/app/app-routing.module.ts | |
parent | b211106695bb82f6c32e53306081b5262c3d109d (diff) | |
download | PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.tar.gz PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.tar.zst PeerTube-384ba8b77a8e4805c099f5ea12b41c2ca5776e26.zip |
Support videos stats in client
Diffstat (limited to 'client/src/app/app-routing.module.ts')
-rw-r--r-- | client/src/app/app-routing.module.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts index db48b2eea..a9d9c723a 100644 --- a/client/src/app/app-routing.module.ts +++ b/client/src/app/app-routing.module.ts | |||
@@ -151,6 +151,12 @@ const routes: Routes = [ | |||
151 | canActivateChild: [ MetaGuard ] | 151 | canActivateChild: [ MetaGuard ] |
152 | }, | 152 | }, |
153 | 153 | ||
154 | { | ||
155 | path: 'stats', | ||
156 | loadChildren: () => import('./+stats/stats.module').then(m => m.StatsModule), | ||
157 | canActivateChild: [ MetaGuard ] | ||
158 | }, | ||
159 | |||
154 | // Matches /@:actorName | 160 | // Matches /@:actorName |
155 | { | 161 | { |
156 | matcher: (url): UrlMatchResult => { | 162 | matcher: (url): UrlMatchResult => { |