mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-05-02 16:52:50 +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)) {
|
if (parseInt(this.document.location.port, 10)) {
|
||||||
port = 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;
|
port = 443;
|
||||||
} else {
|
} else {
|
||||||
port = 80;
|
port = 80;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user