mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 02:09:37 +02:00
Add ability for instances to follow any actor
This commit is contained in:
parent
7f28f2ddba
commit
4d029ef8ec
45 changed files with 884 additions and 528 deletions
|
@ -19,7 +19,6 @@ function isHostValid (host: string) {
|
|||
|
||||
function isEachUniqueHostValid (hosts: string[]) {
|
||||
return isArray(hosts) &&
|
||||
hosts.length !== 0 &&
|
||||
hosts.every(host => {
|
||||
return isHostValid(host) && hosts.indexOf(host) === hosts.lastIndexOf(host)
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue