From 46c293286124a189e35a51ba786630123b425fdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Gonz=C3=A1lez=20V=C3=A1zquez?= Date: Sun, 22 Oct 2023 18:40:38 -0600 Subject: [PATCH] Added new config for runner --- src/pages/rss.xml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/rss.xml.ts b/src/pages/rss.xml.ts index ed14669..6b0b3fe 100644 --- a/src/pages/rss.xml.ts +++ b/src/pages/rss.xml.ts @@ -2,7 +2,7 @@ import rss from "@astrojs/rss"; import type { APIRoute } from "astro"; import { getCollection } from "astro:content"; -export const get: APIRoute = async function get({ site }) { +export const get: APIRoute = async function get({ site }: any) { const posts = await getCollection("blog"); const items = posts.map(({ data: { image, title, exerpt, date }, slug }) => ({ title,