Use joinpeertube.org for app domain
This commit is contained in:
parent
43b70c0d65
commit
f099067e9d
|
@ -186,17 +186,17 @@ export class HeaderComponent implements OnInit, OnDestroy {
|
|||
|
||||
const videoId = getVideoId(url)
|
||||
if (videoId) {
|
||||
this.mobileAppUrl = `peertube:///video/${videoId}?host=${host}`
|
||||
this.mobileAppUrl = `peertube://joinpeertube.org/video/${videoId}?host=${host}`
|
||||
return
|
||||
}
|
||||
|
||||
const channelId = getChannelId(url)
|
||||
if (channelId) {
|
||||
this.mobileAppUrl = `peertube:///video-channel/${channelId}?host=${host}`
|
||||
this.mobileAppUrl = `peertube://joinpeertube.org/video-channel/${channelId}?host=${host}`
|
||||
return
|
||||
}
|
||||
|
||||
this.mobileAppUrl = `peertube:///?host=${host}`
|
||||
this.mobileAppUrl = `peertube://joinpeertube.org/?host=${host}`
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue