mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-21 22:07:48 +00:00
Update bundled-server-finder.component.ts
This commit is contained in:
parent
2b17b3d627
commit
092fe5991b
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user