From b3ec6cbaf141c5249d04738e5347a9cf40b9807f Mon Sep 17 00:00:00 2001 From: Tal Beja Date: Thu, 29 Mar 2018 16:48:44 +0300 Subject: [PATCH] fixed version for the socket.io --- lib/properties.js | 3 +++ package.json | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/lib/properties.js b/lib/properties.js index f8ff071..61b8223 100644 --- a/lib/properties.js +++ b/lib/properties.js @@ -48,6 +48,9 @@ module.exports = function (settingsDir) { properties_default.db.pass = process.env.DB_PASS || process.env.DBPASS || properties_default.db.pass properties_default.db.dir = process.env.DB_DIR || process.env.DBDIR || properties_default.db.dir properties_default.db.uri = process.env.DB_URI || process.env.DBURI || properties_default.db.uri + console.log('process.env.DB_OPTIONS', process.env.DB_OPTIONS) + console.log('process.env.DBOPTIONS', process.env.DBOPTIONS) + console.log('properties_default.db.options', properties_default.db.options) properties_default.db.options = process.env.DB_OPTIONS || process.env.DBOPTIONS || properties_default.db.options } if (properties_default.redis || process.env.REDIS_HOST) { diff --git a/package.json b/package.json index 78a9908..ebd9259 100644 --- a/package.json +++ b/package.json @@ -77,11 +77,11 @@ "piwik-tracker": "^0.1.2", "prettyjson": "^1.1.3", "qs": "^5.0.0", - "redis": "^2.6.2", + "redis": "~2.6.2", "request": "^2.61.0", "serve-favicon": "^2.3.0", - "socket.io": "git+https://github.com/tal-beja/socket.io.git", - "socket.io-client": "^1.4.8", + "socket.io": "git+https://github.com/tal-beja/socket.io.git#pre2", + "socket.io-client": "~1.4.8", "socket.io-redis": "git+https://github.com/tal-beja/socket.io-redis.git", "uuid": "^2.0.1", "winston": "^1.0.1",