mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-13 08:19:53 +00:00
Allow the API documentation to be accessed over HTTPS
This commit is contained in:
parent
08161ce1fe
commit
607c190a9a
@ -88,7 +88,7 @@ export class DefaultLayoutComponent implements OnInit, OnDestroy {
|
||||
|
||||
goToDocumentation() {
|
||||
this.controllerService.get(+this.controllerId).then((controller: Controller) => {
|
||||
(window as any).open(`http://${controller.host}:${controller.port}/docs`);
|
||||
(window as any).open(`${controller.protocol}//${controller.host}:${controller.port}/docs`);
|
||||
});
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user