Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
grossmj committed Nov 3, 2023
1 parent 3300794 commit 7658b03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ export class BundledServerFinderComponent implements OnInit {
this.progressService.activate();
setTimeout(() => {
let port;

if (parseInt(this.document.location.port, 10)) {
port = parseInt(this.document.location.port, 10);
} else if (this.document.location.protocol == "https:") {
} else if (this.document.location.protocol == "https") {
port = 443;
} else {
port = 80;
Expand Down

0 comments on commit 7658b03

Please sign in to comment.