diff options
author | jakobst1n <jakob.stendahl@outlook.com> | 2021-10-03 18:36:12 +0200 |
---|---|---|
committer | jakobst1n <jakob.stendahl@outlook.com> | 2021-10-03 18:48:14 +0200 |
commit | 8fe3b246a12d409b0819b574a050b64ca96ce251 (patch) | |
tree | da93ea8040d4d3029b5921b49fde19659827e841 /src/SSLCert/index.js | |
parent | 7bdce37fd3f18e2712e18c4e2c64cac69af0aca1 (diff) | |
download | Luxcena-Neo-8fe3b246a12d409b0819b574a050b64ca96ce251.tar.gz Luxcena-Neo-8fe3b246a12d409b0819b574a050b64ca96ce251.zip |
:boom: Change paths to be in normal linux locations
Diffstat (limited to 'src/SSLCert/index.js')
-rw-r--r-- | src/SSLCert/index.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SSLCert/index.js b/src/SSLCert/index.js index 6dad579..d235c9b 100644 --- a/src/SSLCert/index.js +++ b/src/SSLCert/index.js @@ -7,7 +7,7 @@ * @author jakobst1n. * @since 14.16.2019 */ - let logger = require(__basedir + "/src/logger"); + let logger = require(__appdir + "/src/Logger"); const fs = require("fs"); const { execSync } = require("child_process"); @@ -20,7 +20,7 @@ var neoModules; class CertMon { constructor(configPath, certPath, httpsConfig) { - this.certPath = __datadir + "/config/certs/"; + this.certPath = __configdir + "/certs/"; let valid = this.checkValidity(); if (!valid) { @@ -141,4 +141,4 @@ module.exports = (_neoModules) => { neoModules = _neoModules; return new CertMon(); }; -
\ No newline at end of file + |