We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 100cc3f commit 8993697Copy full SHA for 8993697
src/lib/nodes/abstract.node.ts
@@ -185,7 +185,11 @@ export abstract class Node<C = unknown> {
185
`[HealthCheck] Alternative IP is not defined for ${this.getBaseURL(this)}. Node is offline.`,
186
)
187
}
188
- if (!this.healthcheckCount) this.preferDomain = false
+ if (this.healthcheckCount < 1) {
189
+ this.preferDomain = false
190
+ } else {
191
+ this.online = false
192
+ }
193
} else {
194
if (protocol === 'https:' || this.isHttpAllowed(protocol)) this.online = false
195
0 commit comments