We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6f9b198 commit 404f817Copy full SHA for 404f817
1 file changed
packages/engine.io-client/lib/transport.ts
@@ -192,7 +192,7 @@ export abstract class Transport extends Emitter<
192
private _port() {
193
if (
194
this.opts.port &&
195
- ((this.opts.secure && Number(this.opts.port !== 443)) ||
+ ((this.opts.secure && Number(this.opts.port) !== 443) ||
196
(!this.opts.secure && Number(this.opts.port) !== 80))
197
) {
198
return ":" + this.opts.port;
0 commit comments