Skip to content

Commit

Permalink
Merge pull request #162 from idirbk/patch-1
Browse files Browse the repository at this point in the history
Update BaseConfig.js update the port
  • Loading branch information
PeterNiblett authored Jan 18, 2024
2 parents f0bdf44 + 10363b3 commit 8f6f987
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/BaseConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ export default class BaseConfig{
}

// For encrypted ports
if (this.options.mqtt.port == 433 || this.options.mqtt.port == 8883) {
if (this.options.mqtt.port == 443 || this.options.mqtt.port == 8883) {
if (this.options.mqtt.transport == "tcp") {
return "ssl://" + server;
}
Expand All @@ -155,4 +155,4 @@ export default class BaseConfig{
throw new Error("Sub class must implement parseConfigFile()");
}

};
};

0 comments on commit 8f6f987

Please sign in to comment.