diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2018-09-27 09:21:26 +0200 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2018-09-27 09:21:26 +0200 |
commit | 1102dbb45ce5bd5c2522151d3b1b825686ad5781 (patch) | |
tree | 80b2d81e029a8583b90c71a011fe4c4d5b025b0d /app.js | |
parent | 78d7c8d75a5f55ab56dd018edc85ebce9aa033bb (diff) | |
download | Luxcena-Neo-1102dbb45ce5bd5c2522151d3b1b825686ad5781.tar.gz Luxcena-Neo-1102dbb45ce5bd5c2522151d3b1b825686ad5781.zip |
:ambulance: Change dirnames to match each other
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 |