adds dotEnv config
This commit is contained in:
parent
28440fea78
commit
b6b50a102b
|
@ -46,8 +46,8 @@ if (!config.storage.type) {
|
|||
|
||||
var Store, preferredStore;
|
||||
|
||||
if (config.storage.password == '.env') {
|
||||
config.storage.password = process.env.STORAGE_PASSWORD
|
||||
if (config.dotEnv) {
|
||||
config.storage.password = process.env.STORAGE_PASSWORD;
|
||||
}
|
||||
|
||||
if (process.env.REDISTOGO_URL && config.storage.type === 'redis') {
|
||||
|
|
Loading…
Reference in New Issue
Block a user