mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2024-12-19 21:17:51 +00:00
Fix tests
This commit is contained in:
parent
3300794aac
commit
7658b0319d
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user