Skip to content

Commit

Permalink
fix: rss endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukadev-0 committed Jan 3, 2024
1 parent b0fecb5 commit 050f120
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/rss.xml.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import rss from "@astrojs/rss";
import { getCollection } from "astro:content";

export async function get() {
export async function GET() {
const posts = await getCollection("blog");

return rss({
Expand Down

0 comments on commit 050f120

Please sign in to comment.