diff options
author | Chocobozzz <me@florianbigard.com> | 2021-05-28 11:36:33 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-05-28 11:38:08 +0200 |
commit | a1eda903a497857017495f37a1fd3593ba7ab23c (patch) | |
tree | a109f34af8b18c087caf6d5a7264267550f0416d /client/src/app/+videos/videos-routing.module.ts | |
parent | 012580d98f489e599d44a9a2a0bdc892b9455a90 (diff) | |
download | PeerTube-a1eda903a497857017495f37a1fd3593ba7ab23c.tar.gz PeerTube-a1eda903a497857017495f37a1fd3593ba7ab23c.tar.zst PeerTube-a1eda903a497857017495f37a1fd3593ba7ab23c.zip |
Support '/w/' and '/w/p/' for watch page
And use them as default in client
Diffstat (limited to 'client/src/app/+videos/videos-routing.module.ts')
-rw-r--r-- | client/src/app/+videos/videos-routing.module.ts | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/client/src/app/+videos/videos-routing.module.ts b/client/src/app/+videos/videos-routing.module.ts index f9f476b18..926dfaab0 100644 --- a/client/src/app/+videos/videos-routing.module.ts +++ b/client/src/app/+videos/videos-routing.module.ts | |||
@@ -74,31 +74,6 @@ const videosRoutes: Routes = [ | |||
74 | key: 'local-videos-list' | 74 | key: 'local-videos-list' |
75 | } | 75 | } |
76 | } | 76 | } |
77 | }, | ||
78 | { | ||
79 | path: 'upload', | ||
80 | loadChildren: () => import('@app/+videos/+video-edit/video-add.module').then(m => m.VideoAddModule), | ||
81 | data: { | ||
82 | meta: { | ||
83 | title: $localize`Upload a video` | ||
84 | } | ||
85 | } | ||
86 | }, | ||
87 | { | ||
88 | path: 'update/:uuid', | ||
89 | loadChildren: () => import('@app/+videos/+video-edit/video-update.module').then(m => m.VideoUpdateModule), | ||
90 | data: { | ||
91 | meta: { | ||
92 | title: $localize`Edit a video` | ||
93 | } | ||
94 | } | ||
95 | }, | ||
96 | { | ||
97 | path: 'watch', | ||
98 | loadChildren: () => import('@app/+videos/+video-watch/video-watch.module').then(m => m.VideoWatchModule), | ||
99 | data: { | ||
100 | preload: 3000 | ||
101 | } | ||
102 | } | 77 | } |
103 | ] | 78 | ] |
104 | } | 79 | } |