aboutsummaryrefslogtreecommitdiffhomepage
path: root/client
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-03-04 09:04:10 +0100
committerChocobozzz <me@florianbigard.com>2021-03-04 09:04:10 +0100
commit0bd6d35f13184d8aff883121ea0e835ba6c91497 (patch)
tree19a70bfc28cfc711d0f16f4d6de53e5e9edd0dd0 /client
parentc9b5b814da3a0401eaf2ba9543543192970e5a09 (diff)
downloadPeerTube-0bd6d35f13184d8aff883121ea0e835ba6c91497.tar.gz
PeerTube-0bd6d35f13184d8aff883121ea0e835ba6c91497.tar.zst
PeerTube-0bd6d35f13184d8aff883121ea0e835ba6c91497.zip
Add watch redirection for playlists
Diffstat (limited to 'client')
-rw-r--r--client/src/app/app-routing.module.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/client/src/app/app-routing.module.ts b/client/src/app/app-routing.module.ts
index 7a55a7b8d..3ea5b7e5e 100644
--- a/client/src/app/app-routing.module.ts
+++ b/client/src/app/app-routing.module.ts
@@ -62,6 +62,10 @@ const routes: Routes = [
62 loadChildren: () => import('./+remote-interaction/remote-interaction.module').then(m => m.RemoteInteractionModule) 62 loadChildren: () => import('./+remote-interaction/remote-interaction.module').then(m => m.RemoteInteractionModule)
63 }, 63 },
64 { 64 {
65 path: 'video-playlists/watch',
66 redirectTo: 'videos/watch/playlist'
67 },
68 {
65 path: '', 69 path: '',
66 component: EmptyComponent // Avoid 404, app component will redirect dynamically 70 component: EmptyComponent // Avoid 404, app component will redirect dynamically
67 } 71 }