feat: show recipe image on page

This commit is contained in:
Max Richter
2025-10-22 16:24:04 +02:00
parent 3b3baca679
commit bd7dde2391
5 changed files with 27 additions and 16 deletions

View File

@@ -16,6 +16,7 @@ interface Props {
}
async function checkImage(image: ImageMetadata) {
console.log("Checking image: ", image);
const src = image.src;
try {
if (src.startsWith("/@fs") || src.startsWith("/_astro")) return true;