mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-10 14:44:40 +02:00
Supply config path to main.js and oputil.js, rather than specific config file
This commit is contained in:
parent
32557975d9
commit
521e38d7e9
4 changed files with 11 additions and 8 deletions
|
@ -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() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue