mailer env config

This commit is contained in:
Joan Sanchez 2019-01-15 09:00:14 +01:00
parent 68bc3f2c7b
commit 9cb9192fc9
1 changed files with 1 additions and 0 deletions

View File

@ -2,6 +2,7 @@ require('require-yaml');
const fs = require('fs-extra');
const packageJson = require('../package.json');
let configPath = `/etc/${packageJson.name}`;
let env = process.env.NODE_ENV ? process.env.NODE_ENV : 'development';
let config = require('./config/datasources.json');
let configFiles = [