]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/+remote-interaction/remote-interaction.component.ts
Load server config on app init
[github/Chocobozzz/PeerTube.git] / client / src / app / +remote-interaction / remote-interaction.component.ts
index e24607b24c3e94eb5ec86b0b13a58faabf44caea..6ddf5b58da6c45ab47acef765c35102697745b29 100644 (file)
@@ -39,11 +39,11 @@ export class RemoteInteractionComponent implements OnInit {
       if (videoResult.data.length !== 0) {
         const video = videoResult.data[0]
 
-        redirectUrl = '/videos/watch/' + video.uuid
+        redirectUrl = '/w/' + video.uuid
       } else if (channelResult.data.length !== 0) {
         const channel = new VideoChannel(channelResult.data[0])
 
-        redirectUrl = '/video-channels/' + channel.nameWithHost
+        redirectUrl = '/c/' + channel.nameWithHost
       } else {
         this.error = $localize`Cannot access to the remote resource`
         return