Use joinpeertube.org for app domain

This commit is contained in:
Chocobozzz 2025-01-31 07:04:22 +01:00
parent 43b70c0d65
commit f099067e9d
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 3 additions and 3 deletions

View File

@ -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}`
})
}