mirror of
https://gitea.invidious.io/iv-org/invidious-redirect.git
synced 2024-08-15 00:53:24 +00:00
Filter out health = 0
This commit is contained in:
parent
c79c61ed4e
commit
5fe254eeea
3 changed files with 3 additions and 3 deletions
|
@ -39,7 +39,7 @@
|
|||
healthKnown
|
||||
}
|
||||
}).filter(entry => {
|
||||
return entry.details.type === "https"
|
||||
return entry.details.type === "https" && entry.health > 0
|
||||
}).sort((a, b) => {
|
||||
return b.health - a.health
|
||||
}).forEach(entry => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue