mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-17 15:09:31 +00:00
BUG
This commit is contained in:
@@ -22,7 +22,7 @@ const BlogPost = ({ post, blockMap, emailHash, tags, prev, next }) => {
|
||||
}
|
||||
|
||||
export async function getStaticPaths () {
|
||||
if (BLOg.isProd) {
|
||||
if (BLOG.isProd) {
|
||||
let posts = await getAllPosts()
|
||||
posts = posts.filter(post => post.status[0] === 'Published')
|
||||
return {
|
||||
|
||||
Reference in New Issue
Block a user