aboutsummaryrefslogtreecommitdiff
path: root/app.js
diff options
context:
space:
mode:
Diffstat (limited to 'app.js')
-rw-r--r--app.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/app.js b/app.js
index 01f7242..a023546 100644
--- a/app.js
+++ b/app.js
@@ -9,7 +9,7 @@ let io = require("socket.io").listen(server);
let srcDir = __dirname;
let installDir = "/home/pi/luxcena-neo-install/"
if (process.argv.length >= 3) { installDir = process.argv[2]; }
-let dataDir = installDir + "/usrData/";
+let dataDir = installDir + "/userdata/";
if (!fse.existsSync(dataDir)) { throw new Error("APPDIR not found! Exiting..."); }
// Secondly we setup the logger, and the global access to "runtimeData"; a jSON-file containing some runtimeData