fix last commit
This commit is contained in:
@@ -141,6 +141,7 @@ var runScriptInVM = function (script_data, user_contextObj = {}, privileged = fa
|
||||
"minisrv_version_string": z_title,
|
||||
"getServiceString": getServiceString,
|
||||
"sendToClient": sendToClient,
|
||||
"ServiceDeps": ServiceDeps,
|
||||
"service_vaults": service_vaults,
|
||||
"cwd": __dirname, // current working directory
|
||||
|
||||
@@ -1817,6 +1818,13 @@ if (minisrv_config.config.SessionStore) {
|
||||
throw ("ERROR: No Session Storage Directory (SessionStore) defined!");
|
||||
}
|
||||
|
||||
if (minisrv_config.config.ServiceDeps) {
|
||||
var ServiceDeps = wtvshared.returnAbsolutePath(minisrv_config.config.ServiceDeps);
|
||||
console.log(" * Configured Service Dependancies at", ServiceDeps);
|
||||
} else {
|
||||
throw ("ERROR: No Service Dependancies Directory (SessionDeps) defined!");
|
||||
}
|
||||
|
||||
var service_ip = minisrv_config.config.service_ip;
|
||||
Object.keys(minisrv_config.services).forEach(function (k) {
|
||||
if (minisrv_config.services[k].disabled) return;
|
||||
|
||||
Reference in New Issue
Block a user