Skip to content

Commit

Permalink
Update blog.config.js
Browse files Browse the repository at this point in the history
  • Loading branch information
An-Jhon authored Feb 28, 2024
1 parent e79ec21 commit 8a05180
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blog.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// 注: process.env.XX是Vercel的环境变量,配置方式见:https://docs.tangly1024.com/zh/features/personality
const BLOG = {
// Important page_id!!!Duplicate Template from https://www.notion.so/tanghh/02ab3b8678004aa69e9e415905ef32a5
NOTION_PAGE_ID: process.env.NOTION_PAGE_ID || 'f41085f6dab043539304f721d26ab432',
NOTION_PAGE_ID: process.env.NOTION_PAGE_ID || '6ac8023e277e4949af0eb2a12b5f9675',
// NOTION_PAGE_ID: process.env.NOTION_PAGE_ID || 'ce6695daea21454a8c2a15ae265b0300',
PSEUDO_STATIC: false, // 伪静态路径,开启后所有文章URL都以 .html 结尾。
NEXT_REVALIDATE_SECOND: process.env.NEXT_PUBLIC_REVALIDATE_SECOND || 5, // 更新内容缓存间隔 单位(秒);即每个页面有5秒的纯静态期、此期间无论多少次访问都不会抓取notion数据;调大该值有助于节省Vercel资源、同时提升访问速率,但也会使文章更新有延迟。
Expand Down

0 comments on commit 8a05180

Please sign in to comment.