mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add envVarExcludes setting to block named env vars
This commit is contained in:
@@ -70,6 +70,7 @@ function init(runtime) {
|
||||
typeEventRegistered = true;
|
||||
}
|
||||
Flow.init(runtime);
|
||||
flowUtil.init(runtime);
|
||||
}
|
||||
|
||||
function loadFlows() {
|
||||
@@ -676,7 +677,7 @@ const flowAPI = {
|
||||
getNode: getNode,
|
||||
handleError: () => false,
|
||||
handleStatus: () => false,
|
||||
getSetting: k => process.env[k]
|
||||
getSetting: k => flowUtil.getEnvVar(k)
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user