From 1d42d1a6d2d675114448d1fe617a9f9689f7669f Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Thu, 22 Mar 2018 14:50:33 -0400 Subject: [PATCH] moving expected location of setup.json to root --- install/web.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/web.js b/install/web.js index 3a6ad41aae..c5f18a6cb2 100644 --- a/install/web.js +++ b/install/web.js @@ -242,13 +242,14 @@ function copyCSS(next) { } function loadDefaults(next) { - var setupDefaultsPath = path.join(__dirname, './data/setup.json'); + var setupDefaultsPath = path.join(__dirname, '../setup.json'); fs.access(setupDefaultsPath, fs.constants.F_OK | fs.constants.R_OK, function (err) { if (err) { // setup.json not found or inaccessible, proceed with no defaults return setImmediate(next); } + winston.info('[installer] Found setup.json, populating default values'); nconf.file({ file: setupDefaultsPath, });