Skip to content

Commit 9f21976

Browse files
committed
1 parent 7dde0ac commit 9f21976

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/tags/[tag]/page.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export const generateStaticParams = async () => {
2525
const tagCounts = tagData as Record<string, number>
2626
const tagKeys = Object.keys(tagCounts)
2727
const paths = tagKeys.map((tag) => ({
28-
tag: encodeURI(tag),
28+
tag: process.env.NODE_ENV === 'production' ? tag : encodeURI(tag),
2929
}))
3030
return paths
3131
}

0 commit comments

Comments
 (0)