2019-06-21 23:52:18 +02:00
|
|
|
const fs = require('fs')
|
|
|
|
|
2019-06-26 17:24:16 +02:00
|
|
|
const config_path = process.env.config_path
|
2019-06-21 23:52:18 +02:00
|
|
|
|
|
|
|
let config = {}
|
|
|
|
if (fs.existsSync(config_path)) {
|
|
|
|
config = require(config_path)
|
|
|
|
}
|
|
|
|
|
|
|
|
module.exports = config
|