mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
Fix path containing too many / (#11680)
This commit is contained in:
parent
6e53c109b6
commit
8418b65f34
@ -177,7 +177,7 @@ export default function ExportCard({
|
|||||||
{exportedRecording.thumb_path.length > 0 ? (
|
{exportedRecording.thumb_path.length > 0 ? (
|
||||||
<img
|
<img
|
||||||
className="absolute inset-0 aspect-video size-full rounded-lg object-contain md:rounded-2xl"
|
className="absolute inset-0 aspect-video size-full rounded-lg object-contain md:rounded-2xl"
|
||||||
src={`${baseUrl}${exportedRecording.thumb_path.replace("/media/frigate", "")}`}
|
src={`${baseUrl}${exportedRecording.thumb_path.replace("/media/frigate/", "")}`}
|
||||||
onLoad={() => setLoading(false)}
|
onLoad={() => setLoading(false)}
|
||||||
/>
|
/>
|
||||||
) : (
|
) : (
|
||||||
|
Loading…
Reference in New Issue
Block a user