Supply config path to main.js and oputil.js, rather than specific config file

This commit is contained in:
David Stephens 2017-11-25 22:45:19 +00:00
parent 32557975d9
commit 521e38d7e9
4 changed files with 11 additions and 8 deletions

View file

@ -111,8 +111,8 @@ function init(configPath, options, cb) {
}
function getDefaultPath() {
// e.g. /enigma-bbs-install-path/config/config.hjson
return './config/config.hjson';
// e.g. /enigma-bbs-install-path/config/
return './config/';
}
function getDefaultConfig() {