diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index 9ae29004..0e9b4317 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -3,7 +3,7 @@ import rss from '@astrojs/rss' import { getCollection, getEntry } from 'astro:content' import type { APIRoute } from 'astro' -export const get: APIRoute = async () => { +export const GET: APIRoute = async () => { const blog = await getCollection('blog') return rss({ title: 'tus.io',