Fix tests

This commit is contained in:
grossmj 2023-11-03 12:28:01 +10:00
parent 3300794aac
commit 7658b0319d

View File

@ -22,10 +22,10 @@ export class BundledServerFinderComponent implements OnInit {
this.progressService.activate(); this.progressService.activate();
setTimeout(() => { setTimeout(() => {
let port; let port;
if (parseInt(this.document.location.port, 10)) { if (parseInt(this.document.location.port, 10)) {
port = 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; port = 443;
} else { } else {
port = 80; port = 80;