This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user