diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-31 14:23:41 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-04-18 16:52:22 +0000 |
| commit | 14b8190d1e0efdfd7b2650923f7b014614dcf937 (patch) | |
| tree | 3163593f952230aadb278f24000ab81ab6277a46 /webAO | |
| parent | f628de1f9726fa734b1787cb587091013bbb518d (diff) | |
Guess WSS, not WS, if the schema isn't set
Diffstat (limited to 'webAO')
| -rw-r--r-- | webAO/client.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/client.ts b/webAO/client.ts index 28ca48f..0501325 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -78,8 +78,8 @@ fpPromise if (!connectionString && mode !== "replay") { if (serverIP) { // if connectionString is not set, try IP - // and just guess ws, though it could be wss - connectionString = `ws://${serverIP}`; + // and just guess wss + connectionString = `wss://${serverIP}`; } else { alert("No connection string specified!"); return; |
