Skip to content

Commit e3c5408

Browse files
authored
fix: function name
1 parent 6387dbf commit e3c5408

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/rss.xml.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import rss from '@astrojs/rss'
22
import { getCollection } from 'astro:content'
33
import { siteConfig } from '@/site-config'
44

5-
export async function get() {
5+
export async function GET() {
66
const posts = await getCollection('blog')
77
return rss({
88
title: siteConfig.title,

0 commit comments

Comments
 (0)