Closed MyNameIsBond closed 9 months ago
I did
export async function generateStaticParams() {
const authors = getAllAuthors()
const lowercaseAthorNames = Array.from(authors, (name) => name.toLowerCase())
return lowercaseAthorNames.map((auth) => ({ slug: auth }))
}
which seemed to solve the problem.
on build there is an issue with
on /author/[name]
the author names should be in lower case.