fix: some type errors
Some checks failed
Deploy to SFTP Server / build (push) Failing after 6m48s

This commit is contained in:
Max Richter
2025-10-04 13:39:06 +02:00
parent 246fc3ae44
commit a1b8eb22e5
3 changed files with 31 additions and 27 deletions

View File

@@ -17,7 +17,7 @@ const recipes = await memorium.listResource("Recipes");
id: recipe.name.replace(/\.md$/, ""),
data: {
cover: recipe.content?.image
? `http://localhost:8080/${recipe.content.image}`
? {src:`http://localhost:8080/${recipe.content.image}`}
: undefined,
title: recipe.name.replace(/\.md$/, ""),
},