diff options
author | Kimsible <kimsible@users.noreply.github.com> | 2021-04-28 23:45:23 +0200 |
---|---|---|
committer | Kimsible <kimsible@users.noreply.github.com> | 2021-05-05 11:48:25 +0200 |
commit | 718873964490d1aa31b0e99852002165637e4b9e (patch) | |
tree | 55b66793e382e901a4fbceb15fc2b5822e54e650 /client/src/app/+remote-interaction | |
parent | 69e076ddb0deda9e4120bab095d3369bb19fbd1e (diff) | |
download | PeerTube-718873964490d1aa31b0e99852002165637e4b9e.tar.gz PeerTube-718873964490d1aa31b0e99852002165637e4b9e.tar.zst PeerTube-718873964490d1aa31b0e99852002165637e4b9e.zip |
Make /a and /c default URLs for accounts and channels
Diffstat (limited to 'client/src/app/+remote-interaction')
-rw-r--r-- | client/src/app/+remote-interaction/remote-interaction.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+remote-interaction/remote-interaction.component.ts b/client/src/app/+remote-interaction/remote-interaction.component.ts index e24607b24..3ebe62f49 100644 --- a/client/src/app/+remote-interaction/remote-interaction.component.ts +++ b/client/src/app/+remote-interaction/remote-interaction.component.ts | |||
@@ -43,7 +43,7 @@ export class RemoteInteractionComponent implements OnInit { | |||
43 | } else if (channelResult.data.length !== 0) { | 43 | } else if (channelResult.data.length !== 0) { |
44 | const channel = new VideoChannel(channelResult.data[0]) | 44 | const channel = new VideoChannel(channelResult.data[0]) |
45 | 45 | ||
46 | redirectUrl = '/video-channels/' + channel.nameWithHost | 46 | redirectUrl = '/c/' + channel.nameWithHost |
47 | } else { | 47 | } else { |
48 | this.error = $localize`Cannot access to the remote resource` | 48 | this.error = $localize`Cannot access to the remote resource` |
49 | return | 49 | return |