diff --git a/src/pages/articles/rss.xml.ts b/src/pages/articles/rss.xml.ts index 2392403..e7900ea 100644 --- a/src/pages/articles/rss.xml.ts +++ b/src/pages/articles/rss.xml.ts @@ -5,7 +5,7 @@ import { Metadata } from "~/core/metadata"; import { Routes } from "~/core/routes"; import { baseUrl } from "~/core/urls"; -export const get = async (_: APIContext) => { +export const GET = async (_: APIContext) => { const articles = await Articles.fetchAll(); return rss({ title: Metadata.constructTitle("Articles"), diff --git a/tsconfig.json b/tsconfig.json index 81aecf8..7517fee 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,5 +10,6 @@ "noUncheckedIndexedAccess": true, "noUnusedParameters": true, "strictNullChecks": true - } + }, + "include": ["src"] }