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/+search | |
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/+search')
-rw-r--r-- | client/src/app/+search/search.component.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/+search/search.component.ts b/client/src/app/+search/search.component.ts index ecede19a3..8a781cbe4 100644 --- a/client/src/app/+search/search.component.ts +++ b/client/src/app/+search/search.component.ts | |||
@@ -214,7 +214,7 @@ export class SearchComponent implements OnInit, OnDestroy { | |||
214 | const linkType = this.getVideoLinkType() | 214 | const linkType = this.getVideoLinkType() |
215 | 215 | ||
216 | if (linkType === 'internal') { | 216 | if (linkType === 'internal') { |
217 | return [ '/video-channels', channel.nameWithHost ] | 217 | return [ '/c', channel.nameWithHost ] |
218 | } | 218 | } |
219 | 219 | ||
220 | if (linkType === 'lazy-load') { | 220 | if (linkType === 'lazy-load') { |