mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-19 15:23:20 +00:00
Use cache key for mask/zone editor image (#12232)
This commit is contained in:
1 parent
f050c7b37d
commit
b30fecbd28
1 file changed
+1
-1
@@ -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]);
|
||||
|
||||
Reference in new issue
Block a user