This commit is contained in:
tangly1024
2025-01-01 15:19:01 +08:00
parent 9b80c149bf
commit bffcc401c1
2 changed files with 3 additions and 3 deletions

View File

@@ -39,8 +39,8 @@ export async function generateRss(props) {
const SUB_PATH = NOTION_CONFIG?.SUB_PATH || BLOG.SUB_PATH
const CONTACT_EMAIL = NOTION_CONFIG?.CONTACT_EMAIL || BLOG.CONTACT_EMAIL
// 检查 feed 文件是否在30分钟内更新过
if (isFeedRecentlyUpdated('./public/rss/feed.xml', 60)) {
// 检查 feed 文件是否在10分钟内更新过
if (isFeedRecentlyUpdated('./public/rss/feed.xml', 10)) {
return
}