* Setting up redis clients.
*/
-var songsclient = redis.createClient(process.env.SONGS_DB_PORT, process.env.SONGS_DB_HOST)
- , usersclient = redis.createClient(process.env.USERS_DB_PORT, process.env.USERS_DB_HOST);
+var songsclient = redis.createClient(
+ process.env.SONGS_DB_PORT || 6379,
+ process.env.SONGS_DB_HOST || '127.0.0.1'
+);
+var usersclient = redis.createClient(
+ process.env.USERS_DB_PORT || 6379,
+ process.env.USERS_DB_HOST || '127.0.0.1'
+);
if (process.env.NODE_ENV === 'production') {
songsclient.auth(process.env.SONGS_DB_AUTH);
"cookie-parser": "1.3.x",
"express": "4.8.x",
"express-session": "1.7.x",
- "forwarded-for": "0.0.x",
+ "forwarded-for": "0.1.x",
"jade": "1.5.x",
- "nodemailer": "1.1.x",
+ "nodemailer": "1.2.x",
"primus": "2.4.x",
"primus-emitter": "3.0.x",
- "primus-rooms": "3.0.x",
- "redis": "0.11.x",
+ "primus-rooms": "3.1.x",
+ "redis": "0.12.x",
"serve-favicon": "2.0.x",
"uglify-js": "2.4.x",
"ws": "0.4.x"
"start": "node app.js"
},
"subdomain": "binb",
- "version": "0.5.2-2"
+ "version": "0.5.3"
}