mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-14 07:26:52 +00:00
编译
This commit is contained in:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user