aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+search
diff options
context:
space:
mode:
authorKimsible <kimsible@users.noreply.github.com>2021-04-28 23:45:23 +0200
committerKimsible <kimsible@users.noreply.github.com>2021-05-05 11:48:25 +0200
commit718873964490d1aa31b0e99852002165637e4b9e (patch)
tree55b66793e382e901a4fbceb15fc2b5822e54e650 /client/src/app/+search
parent69e076ddb0deda9e4120bab095d3369bb19fbd1e (diff)
downloadPeerTube-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.ts2
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') {