Permalink
Browse files

removed some test ENV stuff

  • Loading branch information...
switzer committed Apr 8, 2014
1 parent f987cce commit 174a391ac16eed47ee523ea212b0dca76ee6ddc6
Showing with 1 addition and 1 deletion.
  1. +1 −1 app.js
View
2 app.js
@@ -76,7 +76,7 @@ if (process.env.REDISTOGO_URL || process.env.REDIS_URL) {
config.redis.password = rtg.auth && rtg.auth.split(":")[1] ? rtg.auth.split(":")[1] : '';
}
-var db = redis.createClient(config.redis.port || process.env.REDIS_PORT_6379_TCP_PORT, config.redis.host || process.env.REDIS_PORT_6379_TCP_PORT);
+var db = redis.createClient(config.redis.port, config.redis.host);
db.auth(config.redis.password);
db.on("error", function(err) {

0 comments on commit 174a391

Please sign in to comment.