mirror of
https://github.com/PretendoNetwork/account.git
synced 2026-10-01 06:38:00 -05:00
Fixed redis config env check
This commit is contained in:
@@ -148,7 +148,7 @@ function configure() {
|
||||
// * Check for optional settings
|
||||
|
||||
const redisConfigValue = get(config, 'redis.client.url');
|
||||
const redisEnvValue = get(process.env, 'redis.client.url');
|
||||
const redisEnvValue = get(process.env, 'PN_ACT_CONFIG_REDIS_URL');
|
||||
|
||||
if (!redisConfigValue || redisConfigValue.trim() === '') {
|
||||
if (!redisEnvValue || redisEnvValue.trim() === '') {
|
||||
|
||||
Reference in New Issue
Block a user