feat: support chinese tag name
This commit is contained in:
parent
81a2bb554c
commit
aa7ab3f610
@ -25,7 +25,7 @@ export const generateStaticParams = async () => {
|
||||
const tagCounts = tagData as Record<string, number>
|
||||
const tagKeys = Object.keys(tagCounts)
|
||||
const paths = tagKeys.map((tag) => ({
|
||||
tag: tag,
|
||||
tag: encodeURI(tag),
|
||||
}))
|
||||
return paths
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user