diff --git a/app.js b/app.js index aa23612..07b9981 100644 --- a/app.js +++ b/app.js @@ -33,7 +33,10 @@ const JAMBONES_REDIS_SENTINELS = process.env.JAMBONES_REDIS_SENTINELS ? { }), ...(process.env.JAMBONES_REDIS_SENTINEL_USERNAME && { username: process.env.JAMBONES_REDIS_SENTINEL_USERNAME - }) + }), + ...(process.env.JAMBONES_REDIS_SENTINEL_SENTINAL_PASSWORD && { + sentinelPassword: process.env.JAMBONES_REDIS_SENTINEL_SENTINAL_PASSWORD + }), } : null; const Srf = require('drachtio-srf');