From f52da7f3aa9c37ee698b115e7c8cbeff5007570d Mon Sep 17 00:00:00 2001 From: Max Richter Date: Fri, 24 Oct 2025 13:46:35 +0200 Subject: [PATCH] fix: some image loading --- src/components/Image.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Image.astro b/src/components/Image.astro index 5c65dd2..826f18d 100644 --- a/src/components/Image.astro +++ b/src/components/Image.astro @@ -20,7 +20,7 @@ async function checkImage(image: ImageMetadata) { try { if (src.startsWith("/@fs") || src.startsWith("/_astro")) return true; const res = await inferRemoteSize(src); - console.log(res) + if (res.format) { image.format = res.format; return true; } else {