aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2024-02-01 00:34:35 +0100
committerGitHub <noreply@github.com>2024-02-01 00:34:35 +0100
commit0b2ccc3e9b58072ea4b1fac59d4dbf662f01c68d (patch)
treeb9dc815ccd9cc14c34194d236a550b27b7496af6
parent9422827df1cd293a37bdc3c58b0f920dbfec54ec (diff)
make https error easier to understand
not that it's gonna help much....
-rw-r--r--webAO/client.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/client.ts b/webAO/client.ts
index c13f7fd..619955a 100644
--- a/webAO/client.ts
+++ b/webAO/client.ts
@@ -88,7 +88,7 @@ fpPromise
// If protocol is https: and connectionString is ws://
// We have a problem, since it's impossible to connect to ws:// from https://
// Connection will fail, but at least warn the user
- alert('Attempted to connect using insecure websockets on https page. Please try removing s from https:// in the URL bar.')
+ alert('WS not supported on HTTPS. Please try removing the s from https:// at the start of the URL bar. (You might have to click inside the URL bar to see it)')
}
client = new Client(connectionString);