diff --git a/src/controller/dockerController.ts b/src/controller/dockerController.ts index e1b82fd1..094d3ba6 100644 --- a/src/controller/dockerController.ts +++ b/src/controller/dockerController.ts @@ -62,7 +62,7 @@ class DockerController extends AbstractServiceController { } async getServices(): Promise { - const response = await api().get("v1/services"); + const response = await api().get("v1/services/"); return response.data; } @@ -76,17 +76,17 @@ class DockerController extends AbstractServiceController { } async getSystemStats(): Promise> { - const response = await api().get("v1/stats-all"); + const response = await api().get("v1/stats-all/"); return response.data; } async getGPUStats(): Promise> { - const response = await api().get("v1/gpu-stats-all"); + const response = await api().get("v1/gpu-stats-all/"); return response.data; } async getInterfaces(): Promise { - const response = await api().get("v1/interfaces"); + const response = await api().get("v1/interfaces/"); return response.data; }