autobounty/config/index.js

6 lines
222 B
JavaScript
Raw Normal View History

2018-03-19 23:02:24 +01:00
const _ = require('lodash')
const defaults = require('./default.js')
2018-03-20 09:54:50 +01:00
const configFileName = process.env.NODE_ENV || 'default'
const config = require(`./${configFileName}.js`)
2018-03-19 22:37:38 +01:00
module.exports = _.merge({}, defaults, config)