From bc4af2bac3a7cd067cbf4cad4dd82c15ece19109 Mon Sep 17 00:00:00 2001 From: Jacob Boddey Date: Mon, 12 Feb 2024 13:19:17 +0000 Subject: [PATCH] Update URL used by UI --- modules/ui/src/app/services/test-run.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ui/src/app/services/test-run.service.ts b/modules/ui/src/app/services/test-run.service.ts index 37d46f23b..918204f17 100644 --- a/modules/ui/src/app/services/test-run.service.ts +++ b/modules/ui/src/app/services/test-run.service.ts @@ -28,7 +28,7 @@ import { } from '../model/testrun-status'; import { Version } from '../model/version'; -const API_URL = 'http://localhost:8000'; +const API_URL = `http://${window.location.hostname}:8000`; export type SystemInterfaces = { [key: string]: string;