We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4693997 commit 4b6eff1Copy full SHA for 4b6eff1
starters/basic-starter/app/[...slug]/page.tsx
@@ -27,6 +27,7 @@ async function getNode(slug: string[]) {
27
28
const type = translatedPath.jsonapi?.resourceName!
29
const uuid = translatedPath.entity.uuid
30
+ const tag = `${translatedPath.entity.type}:${translatedPath.entity.id}`
31
32
if (type === "node--article") {
33
params.include = "field_image,uid"
@@ -37,7 +38,7 @@ async function getNode(slug: string[]) {
37
38
next: {
39
revalidate: 3600,
40
// Replace `revalidate` with `tags` if using tag based revalidation.
- // tags: [`${translatedPath.entity.type}:${translatedPath.entity.id}`],
41
+ // tags: [tag],
42
},
43
})
44
0 commit comments