From c60a04af9943c1b96e230a3f26f757cb35ebe80f Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Tue, 19 Nov 2024 22:43:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=86=E6=9E=90=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/db/getSiteData.js | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/lib/db/getSiteData.js b/lib/db/getSiteData.js index fa3c37ba..1c2225d5 100755 --- a/lib/db/getSiteData.js +++ b/lib/db/getSiteData.js @@ -34,6 +34,10 @@ export async function getGlobalData({ const siteIds = pageId?.split(',') || [] let data = EmptyData(pageId) + if (BLOG.BUNDLE_ANALYZER) { + return data + } + try { for (let index = 0; index < siteIds.length; index++) { const siteId = siteIds[index] @@ -97,10 +101,10 @@ const EmptyData = pageId => { id: 1, title: `无法获取Notion数据,请检查Notion_ID: \n 当前 ${pageId}`, summary: - '访问文档获取帮助→ https://tangly1024.com/article/vercel-deploy-notion-next', + '访问文档获取帮助 → https://docs.tangly1024.com/article/vercel-deploy-notion-next', status: 'Published', type: 'Post', - slug: '13a171332816461db29d50e9f575b00d', + slug: 'oops', publishDay: '2024-11-13', pageCoverThumbnail: BLOG.HOME_BANNER_IMAGE, date: {