Update bundled-server-finder.component.ts

This commit is contained in:
piotrpekala7 2021-05-27 23:32:15 +02:00
parent 2b17b3d627
commit 092fe5991b

View File

@ -25,7 +25,7 @@ export class BundledServerFinderComponent implements OnInit {
if (parseInt(this.document.location.port, 10)) {
port = parseInt(this.document.location.port, 10);
} else if (location.protocol == "https:") {
} else if (this.document.location.protocol == "https:") {
port = 443;
} else {
port = 80;