1
0
Fork 0
forked from svrjs/svrjs

Fix environment variable support (after testing)

This commit is contained in:
Dorian Niemiec 2023-12-03 13:55:56 +01:00
parent d02c9754c9
commit caf2ad685d

6
svr.js
View file

@ -1167,11 +1167,11 @@ try {
} }
try { try {
environmentVariables.forEach(function(value, key) { Object.keys(environmentVariables).forEach(function(key) {
process.env[key] = value; process.env[key] = environmentVariables[key];
}); });
} catch(err) { } catch(err) {
// Failed to set environment variables.
} }
// Compability for older mods // Compability for older mods