splitted functionality
This commit is contained in:
13
nextcloud-config.js
Normal file
13
nextcloud-config.js
Normal file
@ -0,0 +1,13 @@
|
||||
module.exports = function (RED) {
|
||||
function NextcloudConfigNode(n) {
|
||||
RED.nodes.createNode(this, n)
|
||||
this.address = n.address;
|
||||
this.insecure = n.insecure;
|
||||
}
|
||||
RED.nodes.registerType('nextcloud-credentials', NextcloudConfigNode, {
|
||||
credentials: {
|
||||
user: { type: 'text' },
|
||||
pass: { type: 'password' }
|
||||
}
|
||||
})
|
||||
}
|
||||
Reference in New Issue
Block a user