ussd-tg-proxy/src/config.js

13 lines
294 B
JavaScript
Raw Normal View History

const path = require("path");
const Confini = require("confini").Config;
const log = require("./log");
const config = new Confini(path.join(__dirname, "../config"));
config.process();
config.override(process.env, "CIC_");
log.debug(config.store, "confini loaded");
module.exports = config;