Allow the API documentation to be accessed over HTTPS

This commit is contained in:
grossmj 2023-11-22 18:52:28 +10:00
parent 08161ce1fe
commit 607c190a9a

View File

@ -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`);
});
}