gancio-upstream/server/config.js
2019-06-08 14:25:33 +02:00

7 lines
168 B
JavaScript

const argv = require('yargs').argv
const path = require('path')
const config_path = path.resolve(argv.config || './config.js')
module.exports = require(config_path)