diff --git a/src/components/image/SanityImage.tsx b/src/components/image/SanityImage.tsx index 2a143e71c..f681fca90 100644 --- a/src/components/image/SanityImage.tsx +++ b/src/components/image/SanityImage.tsx @@ -30,10 +30,14 @@ const useNextSanityGlobalImage = ( useEffect(() => { if (studioImage) { - fetch(studioImage.src).then((r) => r.ok && setGlobalImage(studioImage)); + fetch(studioImage.src, { + method: "HEAD", + }).then((r) => r.ok && setGlobalImage(studioImage)); } if (sharedImage) { - fetch(sharedImage.src).then((r) => r.ok && setGlobalImage(sharedImage)); + fetch(sharedImage.src, { + method: "HEAD", + }).then((r) => r.ok && setGlobalImage(sharedImage)); } }, [studioImage, sharedImage]);