Skip to content

Commit

Permalink
fix broker URL
Browse files Browse the repository at this point in the history
  • Loading branch information
seriousme committed Dec 31, 2024
1 parent e5555ac commit 93f4069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/mqttRoute.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ class MqttRoute {
const id = MqttRoute._generateClientID();
opts.clientId = opts.clientId || id;
debug(brokerUrl, opts, brokerUrl || opts);
this.mqtt = MQTTconnect(brokerUrl || cOpts, opts);
this.mqtt = MQTTconnect(brokerUrl, opts);
}

listen(brokerUrl, opts) {
Expand Down

0 comments on commit 93f4069

Please sign in to comment.