fix: don't block connect on offline ping — always allow connection attempt
Server may be reachable even if ping failed (transient timeout). User should always be able to try connecting. Fingerprint change still shows confirm dialog (accept/reject). Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -368,7 +368,7 @@ async function doConnect() {
|
||||
saveSettingsObj(s);
|
||||
}
|
||||
|
||||
if (ls === "offline") { connectError.textContent = "Relay is offline"; return; }
|
||||
// Don't block connect on offline — ping may have failed transiently
|
||||
|
||||
connectError.textContent = "";
|
||||
connectBtn.disabled = true;
|
||||
|
||||
Reference in New Issue
Block a user