This commit is contained in:
tangly
2022-10-18 22:15:02 +08:00
parent 556d3d8cd4
commit 59411e0886

View File

@@ -89,7 +89,7 @@ export async function getStaticPaths() {
const from = 'slug-paths'
const { allPages } = await getGlobalNotionData({ from })
return {
paths: allPages.map(row => ({ params: { slug: row.slug } })),
paths: allPages.map(row => ({ params: { slug: [row.slug] } })),
fallback: true
}
}