mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Updated Design: Persistable Context (markdown)
parent
5550cf4ece
commit
b6ecfc22a5
@ -66,7 +66,7 @@ contextStorage : {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
// you can use `file` as the `default`.
|
// you can use `file` as the `default`.
|
||||||
// get default(){ return this.file }
|
// defalut: "file"
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -86,7 +86,8 @@ The value set in the config is passed to the plugin. These items are defined by
|
|||||||
default: "redis",
|
default: "redis",
|
||||||
|
|
||||||
> So that you can swap default easily ?
|
> So that you can swap default easily ?
|
||||||
>> NOL: Either/or - default could be an alias for another config, or a full options object.
|
>> NOL: Either/or - default could be an alias for another config, or a full options object.
|
||||||
|
>> HU: You're right. it is easily and simple. I changed above settings.js.
|
||||||
|
|
||||||
> DCJ: Do we need to think about passwords in the clear in these settings ? Is the whole of settings object available to other nodes ?
|
> DCJ: Do we need to think about passwords in the clear in these settings ? Is the whole of settings object available to other nodes ?
|
||||||
>> NOL: The settings file contents is not accessible to the whole runtime - only the bits we choose to expose. How the user provides values to the file is up to them, such as env-var etc.
|
>> NOL: The settings file contents is not accessible to the whole runtime - only the bits we choose to expose. How the user provides values to the file is up to them, such as env-var etc.
|
||||||
|
Loading…
Reference in New Issue
Block a user