feat: add picos de europa post

This commit is contained in:
Max Richter
2025-10-22 22:01:39 +02:00
parent c4052e2339
commit bce3ea609e
50 changed files with 3379 additions and 68 deletions

View File

@@ -16,6 +16,7 @@ interface Props {
async function checkImage(image: ImageMetadata) {
const src = image.src;
if(!src) return false;
try {
if (src.startsWith("/@fs") || src.startsWith("/_astro")) return true;
const res = await inferRemoteSize(src);
@@ -28,6 +29,7 @@ async function checkImage(image: ImageMetadata) {
return false;
} catch (err) {
console.log("Failed to fetch: ", src);
console.log(err)
return false;
}
}