修复build

This commit is contained in:
tangly1024
2022-12-09 09:24:28 +08:00
parent 3bbc112f20
commit fbce1f079b

View File

@@ -223,7 +223,8 @@ async function getPageRecordMapByNotionAPI({ pageId, from }) {
return post &&
post.type &&
(post.type === 'Post' || post.type === 'Page') &&
(post.status === 'Published' || post.status === 'Invisible')
(post.status === 'Published' || post.status === 'Invisible') &&
(!post.slug.startsWith('http'))
})
// Sort by date