Correct formatting
This commit is contained in:
parent
c676af242a
commit
633fa729df
|
@ -8,7 +8,6 @@ export function getPeertubeVideoURL(video, prefs) {
|
||||||
return `https://${getPeertubeHost(video.account.host, prefs)}/videos/watch/${video.uuid}`
|
return `https://${getPeertubeHost(video.account.host, prefs)}/videos/watch/${video.uuid}`
|
||||||
}
|
}
|
||||||
|
|
||||||
export function getPeertubeHost(host, prefs)
|
export function getPeertubeHost(host, prefs) {
|
||||||
{
|
|
||||||
return prefs.openInOriginalInstance ? host : prefs.searchInstance;
|
return prefs.openInOriginalInstance ? host : prefs.searchInstance;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue