From a0677629f6f1dd9541cee452a4844ce7b3bb3207 Mon Sep 17 00:00:00 2001 From: BFlat Date: Wed, 28 Feb 2024 13:48:59 +0700 Subject: [PATCH] gif GET --- .../src/components/common/Card/VideoCard/VideoCard.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 84ab2fad48..298b1a8204 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: "HEAD" }); + const response = await fetch(url, { method: "GET" }); return response.ok; } catch (error) { return false;