diff --git a/src/app/layouts/default-layout/default-layout.component.ts b/src/app/layouts/default-layout/default-layout.component.ts index bc7b5edd..8082bf3e 100644 --- a/src/app/layouts/default-layout/default-layout.component.ts +++ b/src/app/layouts/default-layout/default-layout.component.ts @@ -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`); }); }