From 5ccf284560cc6710f78b44f4887f3513117605ce Mon Sep 17 00:00:00 2001 From: David Skoland Date: Tue, 24 Mar 2026 14:06:14 +0100 Subject: add comment explaining assumption --- webAO/dom/reconnectButton.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webAO/dom/reconnectButton.ts b/webAO/dom/reconnectButton.ts index ae492fb..eecb915 100644 --- a/webAO/dom/reconnectButton.ts +++ b/webAO/dom/reconnectButton.ts @@ -11,6 +11,8 @@ export function ReconnectButton() { // Build the connection string the same way the initial connection does let connectionString = connect; if (!connectionString && serverIP) { + // if connectionString is not set, try IP + // and just guess ws, though it could be wss connectionString = `ws://${serverIP}`; } -- cgit