Skip to content

Commit

Permalink
port 3300 is the default one, even if one is not determined
Browse files Browse the repository at this point in the history
  • Loading branch information
alansikora committed Jun 27, 2022
1 parent 391bb25 commit c01cd10
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ export class RocketChatSettingsAdapter {
public getBridgePort(): number {
const [, , port] = this.getBridgeUrl().split(':');

return parseInt(port);
// The port should be 3300 if none is specified on the URL
return parseInt(port || '3300');
}

public getHomeServerUrl(): string {
Expand Down

0 comments on commit c01cd10

Please sign in to comment.