From b30fecbd283cd037c79f1ae6229ff325cb43fe12 Mon Sep 17 00:00:00 2001 From: Josh Hawkins <32435876+hawkeye217@users.noreply.github.com> Date: Mon, 1 Jul 2024 10:02:56 -0500 Subject: [PATCH] Use cache key for mask/zone editor image (#12232) --- 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]);