mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add the node setting tlsConfigDisableLocalFiles for tls node. (#1190)
* Add the node setting tlsConfigDisableLocalFiles for tls node. * Fix the bug that shows node setting when specified in settings.js and exportable is false.
This commit is contained in:
committed by
Nick O'Leary
parent
34089aec70
commit
3b3d696e45
@@ -48,7 +48,14 @@ module.exports = function(RED) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
RED.nodes.registerType("tls-config",TLSConfig);
|
||||
RED.nodes.registerType("tls-config",TLSConfig,{
|
||||
settings: {
|
||||
tlsConfigDisableLocalFiles: {
|
||||
value: true,
|
||||
exportable: false
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
TLSConfig.prototype.addTLSOptions = function(opts) {
|
||||
if (this.valid) {
|
||||
|
Reference in New Issue
Block a user