mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-08 11:01:35 +00:00
gif GET
This commit is contained in:
1 parent
1d1e268234
commit
a0677629f6
1 file changed
+1
-1
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user