图片自动阴影

This commit is contained in:
tangly1024.com
2023-03-14 19:32:54 +08:00
parent 06852ad99e
commit 531aa2f090
6 changed files with 26 additions and 3 deletions

View File

@@ -100,7 +100,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
}
}