Skip to content

Commit 8f6f987

Browse files
authored
Merge pull request #162 from idirbk/patch-1
Update BaseConfig.js update the port
2 parents f0bdf44 + 10363b3 commit 8f6f987

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BaseConfig.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,7 +134,7 @@ export default class BaseConfig{
134134
}
135135

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

158-
};
158+
};

0 commit comments

Comments
 (0)