mirror of
https://github.com/node-red/node-red.git
synced 2023-10-10 13:36:53 +02:00
Remove mqtt debug
This commit is contained in:
parent
cf40497e6e
commit
f3cf58c8ff
@ -136,7 +136,7 @@ module.exports = function(RED) {
|
||||
tlsNode.addTLSOptions(this.options);
|
||||
}
|
||||
}
|
||||
console.log(this.brokerurl,this.options);
|
||||
// console.log(this.brokerurl,this.options);
|
||||
|
||||
// If there's no rejectUnauthorized already, then this could be an
|
||||
// old config where this option was provided on the broker node and
|
||||
@ -182,7 +182,6 @@ module.exports = function(RED) {
|
||||
};
|
||||
|
||||
this.connect = function () {
|
||||
console.log("CONNECT");
|
||||
if (!node.connected && !node.connecting) {
|
||||
node.connecting = true;
|
||||
node.client = mqtt.connect(node.brokerurl ,node.options);
|
||||
|
Loading…
Reference in New Issue
Block a user