diff options
Diffstat (limited to 'examples/blog/src/pages/rss.xml.js')
-rw-r--r-- | examples/blog/src/pages/rss.xml.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/blog/src/pages/rss.xml.js b/examples/blog/src/pages/rss.xml.js index 9ff9801e0..ae5e4c4ec 100644 --- a/examples/blog/src/pages/rss.xml.js +++ b/examples/blog/src/pages/rss.xml.js @@ -10,7 +10,7 @@ export async function GET(context) { site: context.site, items: posts.map((post) => ({ ...post.data, - link: `/blog/${post.slug}/`, + link: `/blog/${post.id}/`, })), }); } |