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 {