aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/rss.xml.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/pages/rss.xml.js')
-rw-r--r--src/pages/rss.xml.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js
index 9041051..6fed721 100644
--- a/src/pages/rss.xml.js
+++ b/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');
posts.sort((a, b) => new Date(b.data.pubDate).getTime() - new Date(a.data.pubDate).getTime());
return rss({
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage