fix: article url in rss
This commit is contained in:
parent
b05c7f1920
commit
77c56236f9
1 changed files with 1 additions and 1 deletions
|
@ -52,7 +52,7 @@ export async function GET(context) {
|
||||||
},
|
},
|
||||||
sanitize({ dropElements: ["script", "style"] }),
|
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.
|
// Return our RSS feed XML response.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue