autobounty/config/index.js
Pedro Pombeiro cef804896b
Code cleanup
2018-03-20 11:01:34 +01:00

6 lines
222 B
JavaScript

const _ = require('lodash')
const defaults = require('./default.js')
const configFileName = process.env.NODE_ENV || 'default'
const config = require(`./${configFileName}.js`)
module.exports = _.merge({}, defaults, config)