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 d2b4caf commit f0022e1Copy full SHA for f0022e1
src/pages/rss.xml.ts
@@ -2,11 +2,11 @@ import rss from '@astrojs/rss'
2
import type { APIContext } from 'astro'
3
import { getCollection } from 'astro:content'
4
5
-import siteConfig from '@/configs/site'
+import siteConfig from '@/configs/site.ts'
6
7
const { title, description } = siteConfig
8
9
-export const get = async ({ site }: APIContext) => {
+export const GET = async ({ site }: APIContext) => {
10
if (site === undefined || site.toString().length === 0) {
11
return {
12
body: ''
0 commit comments