aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-06-10 18:14:01 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-06-10 18:14:01 +0200
commitc6de16eb1d243610472316ea080348af4c3084ba (patch)
treed385fca979e1000159860a1843818d6a1654a83c
parent3d1c18ff1fd0597ee7852bdecbfcda64b28deb19 (diff)
downloadPeerTube-c6de16eb1d243610472316ea080348af4c3084ba.tar.gz
PeerTube-c6de16eb1d243610472316ea080348af4c3084ba.tar.zst
PeerTube-c6de16eb1d243610472316ea080348af4c3084ba.zip
Fix redirection after the upload of a video
-rw-r--r--client/src/app/videos/video-add/video-add.component.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/videos/video-add/video-add.component.ts b/client/src/app/videos/video-add/video-add.component.ts
index 7d8fbdc29..342935e36 100644
--- a/client/src/app/videos/video-add/video-add.component.ts
+++ b/client/src/app/videos/video-add/video-add.component.ts
@@ -126,7 +126,7 @@ export class VideoAddComponent implements OnInit {
126 console.log('Video uploaded.'); 126 console.log('Video uploaded.');
127 127
128 // Print all the videos once it's finished 128 // Print all the videos once it's finished
129 this.router.navigate(['VideosList']); 129 this.router.navigate(['/videos/list']);
130 }; 130 };
131 131
132 item.onError = (response: string, status: number) => { 132 item.onError = (response: string, status: number) => {