diff --git a/README.md b/README.md index a04be38..2ffb9fb 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ In order to run this app: - Install [node.js](https://nodejs.org/en/). - Clone the repository. - Install dependencies using `npm install`. -- Make a new app at Heroku, and add the Redis Cloud add-on (free plan) and note the app URL. +- Make a new app at Heroku, and add the Heroku Redis add-on (free plan) and note the app URL. - Add a config var APP_URL (usually {app_name}.herokuapp.com) - Make a Slack webhook for a slack-channel and note the URL, add them as config vars named SLACK_URL & SLACK_CHANNEL. - Deploy to Heroku. diff --git a/index.js b/index.js index e2911e3..377d516 100644 --- a/index.js +++ b/index.js @@ -13,7 +13,7 @@ var appURL = process.env.APP_URL; var slack = new Slack(); slack.setWebhook(process.env.SLACK_URL); -var redisClient = redis.createClient(process.env.REDISCLOUD_URL, { return_buffers : true }); +var redisClient = redis.createClient(process.env.REDIS_URL, { return_buffers : true }); var upload = multer({ storage: multer.memoryStorage() }); var app = express();