Compare commits

..

2 Commits

Author SHA1 Message Date
Julien Fontanet
84a4242e27 0.1.1 2014-07-26 23:48:53 +02:00
Julien Fontanet
6373d667d9 Work around XO-Server incomplete TLS 2014-07-26 23:42:04 +02:00
2 changed files with 5 additions and 2 deletions

View File

@@ -60,7 +60,10 @@ assign(Xo.prototype, {
this.status = 'connecting';
var socket = this._socket = new WebSocket(this._url);
var socket = this._socket = new WebSocket(this._url, {
// Due to imperfect TLS implementation in XO-Server.
rejectUnauthorized: false,
});
// When the socket opens, send any queued requests.
socket.on('open', function () {

View File

@@ -1,6 +1,6 @@
{
"name": "xo-lib",
"version": "0.1.0",
"version": "0.1.1",
"description": "Library to connect to XO-Server",
"keywords": [
"xen",