gancio-upstream/server/config.js
2019-06-10 00:40:37 +02:00

5 lines
166 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)