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;