v1.18.x
Julian Lam 11 years ago
parent cb012ffa7a
commit 843cb1b35b

@ -121,6 +121,10 @@ var async = require('async'),
password: databaseConfig['redis:password'],
database: databaseConfig['redis:database']
};
if (config.redis.host.slice(0, 1) === '/') {
delete config.redis.port;
}
} else if (config.database === 'mongo') {
config.mongo = {
host: databaseConfig['mongo:host'],

Loading…
Cancel
Save