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/+video-watch/video-watch.component.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/+video-watch/video-watch.component.ts')
-rw-r--r-- | client/src/app/+videos/+video-watch/video-watch.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+videos/+video-watch/video-watch.component.ts b/client/src/app/+videos/+video-watch/video-watch.component.ts index 88c5cef52..0acd44524 100644 --- a/client/src/app/+videos/+video-watch/video-watch.component.ts +++ b/client/src/app/+videos/+video-watch/video-watch.component.ts | |||
@@ -690,7 +690,7 @@ export class VideoWatchComponent implements OnInit, OnDestroy { | |||
690 | if (this.playlist) { | 690 | if (this.playlist) { |
691 | this.zone.run(() => this.videoWatchPlaylist.navigateToNextPlaylistVideo()) | 691 | this.zone.run(() => this.videoWatchPlaylist.navigateToNextPlaylistVideo()) |
692 | } else if (this.nextVideoUuid) { | 692 | } else if (this.nextVideoUuid) { |
693 | this.router.navigate([ '/videos/watch', this.nextVideoUuid ]) | 693 | this.router.navigate([ '/w', this.nextVideoUuid ]) |
694 | } | 694 | } |
695 | } | 695 | } |
696 | 696 | ||