diff options
| author | David Skoland <davidskoland@gmail.com> | 2026-03-24 14:06:14 +0100 |
|---|---|---|
| committer | David Skoland <davidskoland@gmail.com> | 2026-03-24 14:06:14 +0100 |
| commit | 5ccf284560cc6710f78b44f4887f3513117605ce (patch) | |
| tree | 9bc5875886cc6954c179a0790c2081fe14253115 | |
| parent | c4258d8f80314339b0707cbb96f74596d7041f1b (diff) | |
add comment explaining assumption
| -rw-r--r-- | webAO/dom/reconnectButton.ts | 2 |
1 files changed, 2 insertions, 0 deletions
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}`; } |
