fix: error desc for rss

This commit is contained in:
KazooTTT
2024-11-23 17:11:30 +08:00
parent 790c91c342
commit 0c6a3e33a0

View File

@ -7,11 +7,11 @@ export const GET = async () => {
return rss({ return rss({
title: siteConfig.title, title: siteConfig.title,
description: siteConfig.description, description: siteConfig.description + '\nfeedId:76245438397618182+userId:62156866798228480',
site: import.meta.env.SITE, site: import.meta.env.SITE,
items: posts.map((post) => ({ items: posts.map((post) => ({
title: post.data.title ?? '', title: post.data.title ?? '',
description: `${post.data.description ?? ''}\nfeedId:76245438397618182+userId:62156866798228480`, description: `${post.data.description ?? ''}`,
pubDate: post.data.date, pubDate: post.data.date,
link: `/blog/${post.slug}` link: `/blog/${post.slug}`
})) }))