We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6387dbf commit e3c5408Copy full SHA for e3c5408
src/pages/rss.xml.ts
@@ -2,7 +2,7 @@ import rss from '@astrojs/rss'
2
import { getCollection } from 'astro:content'
3
import { siteConfig } from '@/site-config'
4
5
-export async function get() {
+export async function GET() {
6
const posts = await getCollection('blog')
7
return rss({
8
title: siteConfig.title,
0 commit comments