mirror of https://github.com/Chocobozzz/PeerTube
Fix redirection after the upload of a video
parent
3d1c18ff1f
commit
c6de16eb1d
|
@ -126,7 +126,7 @@ export class VideoAddComponent implements OnInit {
|
||||||
console.log('Video uploaded.');
|
console.log('Video uploaded.');
|
||||||
|
|
||||||
// Print all the videos once it's finished
|
// Print all the videos once it's finished
|
||||||
this.router.navigate(['VideosList']);
|
this.router.navigate(['/videos/list']);
|
||||||
};
|
};
|
||||||
|
|
||||||
item.onError = (response: string, status: number) => {
|
item.onError = (response: string, status: number) => {
|
||||||
|
|
Loading…
Reference in New Issue