mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-07 02:18:07 +01:00
Use api path to determine type (#12031)
* Use api path to determine type * Use in both cases * Fix extension parsing
This commit is contained in:
@@ -47,7 +47,7 @@ export default function CameraImage({
|
||||
return;
|
||||
}
|
||||
|
||||
imgRef.current.src = `${apiHost}api/${name}/latest.jpg?h=${requestHeight}${
|
||||
imgRef.current.src = `${apiHost}api/${name}/latest.webp?h=${requestHeight}${
|
||||
searchParams ? `&${searchParams}` : ""
|
||||
}`;
|
||||
}, [apiHost, name, imgRef, searchParams, requestHeight, config]);
|
||||
|
||||
Reference in New Issue
Block a user