mirror of https://github.com/BTCPrivate/z-nomp.git
Update website.js
This commit is contained in:
parent
9a4497323b
commit
f9cdef7a72
|
@ -134,7 +134,9 @@ module.exports = function(logger){
|
|||
async.waterfall([
|
||||
function(callback){
|
||||
var client = redis.createClient(portalConfig.redis.port, portalConfig.redis.host);
|
||||
client.auth(portalConfig.redis.password);
|
||||
if (portalConfig.redis.password) {
|
||||
client.auth(portalConfig.redis.password);
|
||||
}
|
||||
client.hgetall('coinVersionBytes', function(err, coinBytes){
|
||||
if (err){
|
||||
client.quit();
|
||||
|
|
Loading…
Reference in New Issue