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:
3061
Cargo.lock
generated
3061
Cargo.lock
generated
File diff suppressed because it is too large
Load Diff
8
desktop/.vite/deps/_metadata.json
Normal file
8
desktop/.vite/deps/_metadata.json
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"hash": "9046c0bf",
|
||||||
|
"configHash": "ef0fc96f",
|
||||||
|
"lockfileHash": "d66891b1",
|
||||||
|
"browserHash": "8171ed59",
|
||||||
|
"optimized": {},
|
||||||
|
"chunks": {}
|
||||||
|
}
|
||||||
3
desktop/.vite/deps/package.json
Normal file
3
desktop/.vite/deps/package.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"type": "module"
|
||||||
|
}
|
||||||
@@ -368,7 +368,7 @@ async function doConnect() {
|
|||||||
saveSettingsObj(s);
|
saveSettingsObj(s);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (ls === "offline") { connectError.textContent = "Relay is offline"; return; }
|
// Don't block connect on offline — ping may have failed transiently
|
||||||
|
|
||||||
connectError.textContent = "";
|
connectError.textContent = "";
|
||||||
connectBtn.disabled = true;
|
connectBtn.disabled = true;
|
||||||
|
|||||||
Reference in New Issue
Block a user