Fix wss:// issue
This commit is contained in:
1 parent
4f526b39c6
commit
eb13a47463
3 files changed
+9
-4
No files matched your search
+3
-2
@@ -286,8 +286,9 @@ function reconnect() {
|
||||
|
||||
msg('%% Reconnecting to server...\r\n');
|
||||
|
||||
// detect whether to use SSL or not
|
||||
var proto = ((window.location.protocol == "https:") || settings.forceSSL.val) ? 'wss://' : 'ws://';
|
||||
// detect whether to use SSL or not /* Dont Detect because GitHub is HTTP and ATS is not. Force ws:// (RL) */
|
||||
// var proto = ((window.location.protocol == "https:") || settings.forceSSL.val) ? 'wss://' : 'ws://';
|
||||
var proto = 'ws://';
|
||||
|
||||
// open a new connection to ws://host:port/wsclient
|
||||
conn = WSClient.connect(proto + settings.serverAddress.val + ":" + settings.serverPort.val + '/wsclient');
|
||||
|
||||
Reference in new issue
Block a user