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();
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;