diff options
author | Jakob Stendahl <14180120+JakobST1n@users.noreply.github.com> | 2018-09-27 09:23:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-27 09:23:19 +0200 |
commit | 1afb32f103bb7ebbc9ffa678ac6f5948a5ec54b1 (patch) | |
tree | e174e0d7d8f8d6b1fca5c7286f54cb506710008b /app.js | |
parent | 9c1b110189556287a25dd96ecd6a0bc886b99d01 (diff) | |
parent | 513ec74bdf240015a618cfd0b39557076e3f18af (diff) | |
download | Luxcena-Neo-1afb32f103bb7ebbc9ffa678ac6f5948a5ec54b1.tar.gz Luxcena-Neo-1afb32f103bb7ebbc9ffa678ac6f5948a5ec54b1.zip |
Merge pull request #2 from JakobST1n/dev
:ambulance: Hotfix for some dirnames and things, workaround root-issue
Diffstat (limited to 'app.js')
-rw-r--r-- | app.js | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |