diff --git a/starters/basic-starter/app/[...slug]/page.tsx b/starters/basic-starter/app/[...slug]/page.tsx index 176e9de8..52b0189a 100644 --- a/starters/basic-starter/app/[...slug]/page.tsx +++ b/starters/basic-starter/app/[...slug]/page.tsx @@ -27,6 +27,7 @@ async function getNode(slug: string[]) { const type = translatedPath.jsonapi?.resourceName! const uuid = translatedPath.entity.uuid + const tag = `${translatedPath.entity.type}:${translatedPath.entity.id}` if (type === "node--article") { params.include = "field_image,uid" @@ -37,7 +38,7 @@ async function getNode(slug: string[]) { next: { revalidate: 3600, // Replace `revalidate` with `tags` if using tag based revalidation. - // tags: [`${translatedPath.entity.type}:${translatedPath.entity.id}`], + // tags: [tag], }, })