Filter out health = 0

This commit is contained in:
Cadence Ember 2020-08-02 22:15:06 +12:00
parent c79c61ed4e
commit 5fe254eeea
No known key found for this signature in database
GPG key ID: 128B99B1B74A6412
3 changed files with 3 additions and 3 deletions

View file

@ -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 => {