mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-30 14:36:19 +02:00
Default configuration moved to config_default.js
This commit is contained in:
parent
fd86293dbe
commit
7e006f1c68
3 changed files with 936 additions and 935 deletions
|
@ -159,7 +159,7 @@ function askNewConfigQuestions(cb) {
|
|||
},
|
||||
function basic(callback) {
|
||||
getAnswers(QUESTIONS.Basic, answers => {
|
||||
const defaultConfig = require('../../core/config.js').getDefaultConfig();
|
||||
const defaultConfig = require('../../core/config_default')();
|
||||
|
||||
// start by plopping in values we want directly from config.js
|
||||
const template = hjson.rt.parse(fs.readFileSync(paths.join(__dirname, '../../misc/config_template.in.hjson'), 'utf8'));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue