From c3293898e85e91964f3a09ed93e01a5b204965d8 Mon Sep 17 00:00:00 2001 From: csehviktor Date: Sat, 19 Jul 2025 18:27:50 +0200 Subject: [PATCH] fix retard --- ui/src/services/store.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/src/services/store.ts b/ui/src/services/store.ts index 0821bc3..36026f4 100644 --- a/ui/src/services/store.ts +++ b/ui/src/services/store.ts @@ -26,8 +26,8 @@ export async function getHistoricalData( ): Promise { return await fetch( import.meta.env.DEV - ? `http://localhost:3000/agent/${agent}/${period}` - : `/agent/${agent}`, + ? `http://localhost:3000/history/${agent}/${period}` + : `/history/${agent}/${period}`, ) .then((res) => res.json()) .then((data) => data as StatusMessage[]);