diff options
| author | Osmium Sorcerer <os@sof.beauty> | 2026-03-31 14:23:41 +0000 |
|---|---|---|
| committer | Osmium Sorcerer <os@sof.beauty> | 2026-06-06 03:06:43 +0000 |
| commit | 3ce48bf73372576c79236b4471a9282f9d7be6c4 (patch) | |
| tree | 9b3a4b5458505106735d20c21ae6d0750a1dce71 | |
| parent | 905e7b3820e70aa39e85307d256214dcf0c627be (diff) | |
Guess WSS, not WS, if the schema isn't set
| -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 30067b8..ab39ee9 100644 --- a/webAO/client.ts +++ b/webAO/client.ts @@ -76,8 +76,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; |
