radio/magnus/config/index.js

9 lines
168 B
JavaScript
Raw Normal View History

2018-08-04 21:46:25 +00:00
var nconf = require("nconf");
var path = require("path");
nconf.argv()
.env()
.file({file: path.join(__dirname, 'config.json')});
module.exports = nconf;