upstream #1
@ -25,7 +25,7 @@ export const generateStaticParams = async () => {
|
|||||||
const tagCounts = tagData as Record<string, number>
|
const tagCounts = tagData as Record<string, number>
|
||||||
const tagKeys = Object.keys(tagCounts)
|
const tagKeys = Object.keys(tagCounts)
|
||||||
const paths = tagKeys.map((tag) => ({
|
const paths = tagKeys.map((tag) => ({
|
||||||
tag: tag,
|
tag: encodeURI(tag),
|
||||||
}))
|
}))
|
||||||
return paths
|
return paths
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user