From e023aa98e61ac8c86164a78c869965f6ab281a4f Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Sat, 16 Oct 2021 15:30:09 +0800 Subject: [PATCH] BUG --- pages/article/[slug].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pages/article/[slug].js b/pages/article/[slug].js index 267369c3..2ee6e3ad 100644 --- a/pages/article/[slug].js +++ b/pages/article/[slug].js @@ -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 {