diff options
Diffstat (limited to 'examples/blog')
-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 7d054b92a..9ff9801e0 100644 --- a/examples/blog/src/pages/rss.xml.js +++ b/examples/blog/src/pages/rss.xml.js @@ -2,7 +2,7 @@ import rss from '@astrojs/rss'; import { getCollection } from 'astro:content'; import { SITE_TITLE, SITE_DESCRIPTION } from '../consts'; -export async function get(context) { +export async function GET(context) { const posts = await getCollection('blog'); return rss({ title: SITE_TITLE, |