diff --git a/svr.js b/svr.js index a22b595..34c654b 100644 --- a/svr.js +++ b/svr.js @@ -1167,11 +1167,11 @@ try { } try { - environmentVariables.forEach(function(value, key) { - process.env[key] = value; + Object.keys(environmentVariables).forEach(function(key) { + process.env[key] = environmentVariables[key]; }); } catch(err) { - + // Failed to set environment variables. } // Compability for older mods