feat: show recipe image on page
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user