diff --git a/packages/fakeyou.com/src/components/common/Card/VideoCard/VideoCard.tsx b/packages/fakeyou.com/src/components/common/Card/VideoCard/VideoCard.tsx index 298b1a8204..af2a97fe4e 100644 --- a/packages/fakeyou.com/src/components/common/Card/VideoCard/VideoCard.tsx +++ b/packages/fakeyou.com/src/components/common/Card/VideoCard/VideoCard.tsx @@ -60,7 +60,7 @@ export default function VideoCard({ const checkGifExists = async (url: string) => { try { - const response = await fetch(url, { method: "GET" }); + const response = await fetch(url, { method: "GET", mode: "no-cors" }); return response.ok; } catch (error) { return false; @@ -69,7 +69,7 @@ export default function VideoCard({ const checkImageExists = async (url: string) => { try { - const response = await fetch(url, { method: "GET" }); + const response = await fetch(url, { method: "GET", mode: "no-cors" }); return response.ok; } catch (error) { return false;