fix: article url in rss

This commit is contained in:
grassblock 2025-05-16 18:29:15 +08:00
parent b05c7f1920
commit 77c56236f9

View file

@ -52,7 +52,7 @@ export async function GET(context) {
},
sanitize({ dropElements: ["script", "style"] }),
]);
feedItems.push({ ...post.data, link: `/blog/${post.slug}/`, content });
feedItems.push({ ...post.data, link: `/post/${post.slug}/`, content });
}
// Return our RSS feed XML response.