Check config before starting MM (#3450)

I think it might be a good idea to check the config at every start.
This commit is contained in:
Kristjan ESPERANTO
2024-09-18 19:37:25 +02:00
committed by GitHub
parent 659e0c74cb
commit 866419eb95
3 changed files with 5 additions and 1 deletions

View File

@@ -117,6 +117,8 @@ function App () {
}
}
require(`${global.root_path}/js/check_config.js`);
try {
fs.accessSync(configFilename, fs.F_OK);
const c = require(configFilename);