next-drupal
next-drupal copied to clipboard
Changing the node path alias pattern not reflecteded in next site
trafficstars
Issue defined in title.
Can you give us more details? What was the pattern changed to and what does your getStaticPaths look like?
Thank you
I've changed the Article pattern from blog/[node:title] to [node:title]. However, after explicitly rebuilding the cache, it did sync. Not a big issue, really, but I still think that some cache tags are missing somewhere. getStaticPaths was:
export async function getStaticPaths(context): Promise<GetStaticPathsResult> {
return {
paths: await getPathsFromContext(["node--article", "node--page"], context),
fallback: "blocking",
}
}