allow for insecure wss connections
This commit is contained in:
parent
241feb631d
commit
32236f7004
|
@ -56,7 +56,7 @@ func start(url: String, token: String) -> ConnectionError:
|
||||||
connecting = true
|
connecting = true
|
||||||
|
|
||||||
print("Connecting to %s" % url + "/api/websocket")
|
print("Connecting to %s" % url + "/api/websocket")
|
||||||
var error = socket.connect_to_url(url + "/api/websocket")
|
var error = socket.connect_to_url(url + "/api/websocket", TLSOptions.client_unsafe())
|
||||||
|
|
||||||
if error != OK:
|
if error != OK:
|
||||||
print("Error connecting to %s: %s" % [url, error])
|
print("Error connecting to %s: %s" % [url, error])
|
||||||
|
|
Loading…
Reference in New Issue
Block a user