Fix filter

This commit is contained in:
Chocobozzz 2023-12-18 15:25:18 +01:00
parent 67de789428
commit 0a210321ea
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ async function buildInstanceHosts () {
if (instanceVersion < 4) {
logger.info(`Do not index ${indexHost} because the major version is too low (v${instanceVersion} < v4)`)
indexHosts = indexHosts.filter(h => h === indexHost)
indexHosts = indexHosts.filter(h => h !== indexHost)
}
}