From 77c56236f932c8e4630b0e5e614935806b68e465 Mon Sep 17 00:00:00 2001 From: grassblock Date: Fri, 16 May 2025 18:29:15 +0800 Subject: [PATCH] fix: article url in rss --- src/pages/rss.xml.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 77e0091..c3ba18d 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -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.