diff --git a/src/app/components/bundled-server-finder/bundled-server-finder.component.ts b/src/app/components/bundled-server-finder/bundled-server-finder.component.ts index 43d6390e..39b9904c 100644 --- a/src/app/components/bundled-server-finder/bundled-server-finder.component.ts +++ b/src/app/components/bundled-server-finder/bundled-server-finder.component.ts @@ -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;