Skip to content

Commit

Permalink
make https error easier to understand
Browse files Browse the repository at this point in the history
not that it's gonna help much....
  • Loading branch information
stonedDiscord authored Jan 31, 2024
1 parent 9422827 commit 0b2ccc3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webAO/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 0b2ccc3

Please sign in to comment.