radio/magnus/config/index.js
2018-08-05 00:48:17 +03:00

9 lines
168 B
JavaScript

var nconf = require("nconf");
var path = require("path");
nconf.argv()
.env()
.file({file: path.join(__dirname, 'config.json')});
module.exports = nconf;