fix: use animation

This commit is contained in:
TrèsAbhi committed 2026-01-17 13:54:19 -06:00
1 parent dda63830ec
commit 35275d4aa8
1 file changed
+1 -1
@@ -15,7 +15,7 @@ export async function imageProxy(url: string) {
}
const buffer = await response.arrayBuffer();
const image = sharp(buffer);
const image = sharp(buffer, { animated: true });
const webp = await image.webp().toBuffer();
const array = new Uint8Array(webp);