mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-02-01 00:45:53 +00:00
Update bundled-server-finder.component.ts
This commit is contained in:
parent
79dee73590
commit
3f0772c352
@ -22,9 +22,12 @@ export class BundledServerFinderComponent implements OnInit {
|
||||
this.progressService.activate();
|
||||
setTimeout(() =>
|
||||
{
|
||||
let port = parseInt(this.document.location.port, 10) ? parseInt(this.document.location.port, 10) : 80;
|
||||
|
||||
this.serverService.getLocalServer(
|
||||
this.document.location.hostname,
|
||||
parseInt(this.document.location.port, 10))
|
||||
port
|
||||
)
|
||||
.then((server: Server) => {
|
||||
this.progressService.deactivate();
|
||||
this.router.navigate(['/server', server.id, 'projects']);
|
||||
|
Loading…
x
Reference in New Issue
Block a user