From 508e9a4c733dd89d954c19e97046e553749a0308 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 1 Jul 2024 07:08:32 -0500 Subject: [PATCH] Use cache key for mask/zone editor image --- web/src/components/settings/PolygonCanvas.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/components/settings/PolygonCanvas.tsx b/web/src/components/settings/PolygonCanvas.tsx index 9ac4bad70..63ce9fa15 100644 --- a/web/src/components/settings/PolygonCanvas.tsx +++ b/web/src/components/settings/PolygonCanvas.tsx @@ -39,7 +39,7 @@ export function PolygonCanvas({ const element = new window.Image(); element.width = width; element.height = height; - element.src = `${apiHost}api/${camera}/latest.webp`; + element.src = `${apiHost}api/${camera}/latest.webp?cache=${Date.now()}`; return element; } }, [camera, width, height, apiHost]);