Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

removed some test ENV stuff

  • Loading branch information...
commit 174a391ac16eed47ee523ea212b0dca76ee6ddc6 1 parent f987cce
@switzer switzer authored
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) {
Please sign in to comment.
Something went wrong with that request. Please try again.