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