GIF fix for safari
All checks were successful
Deploy / Deploy (push) Successful in 22s

This commit is contained in:
Astra 2025-05-11 00:56:39 +09:00
parent c3dfb2e48d
commit c84ff140ca
Signed by: astra
SSH key fingerprint: SHA256:jQDNS75/33T59Ey4yAzrUPP/5YQaXEetsW8hwUae+ag

View file

@ -99,7 +99,9 @@ class Post {
}
break;
case "app.bsky.embed.external": // assuming that external embeds are gifs for now
this.gifLink = post.embed.external.uri;
if (post.embed.external.uri.includes(".gif")) {
this.gifLink = post.embed.external.uri;
}
break;
}
}