diff --git a/src/helpers/memorium.ts b/src/helpers/memorium.ts index 035d2df..f7b2c6c 100644 --- a/src/helpers/memorium.ts +++ b/src/helpers/memorium.ts @@ -1,7 +1,7 @@ export async function listResource(id: string): Promise { try { const response = await fetch( - `http://localhost:8080/${id}`, + `https://marka.max-richter.dev/${id}`, ); return await response.json(); } catch (error) { diff --git a/src/pages/resources/Recipes/index.astro b/src/pages/resources/Recipes/index.astro index 5efbb54..8c9b5fa 100644 --- a/src/pages/resources/Recipes/index.astro +++ b/src/pages/resources/Recipes/index.astro @@ -8,17 +8,25 @@ const recipes = await memorium.listResource("Recipes"); { - recipes.content.filter(res => res.content).map((recipe: any) => ( - - )) + recipes.content + .filter((res) => res.content) + .map((recipe: any) => ( + + )) + } + + /> + )) }