Added new config for runner
/ Deploy to Cloudflare Pages (push) Failing after 33s Details

This commit is contained in:
Rafael González Vázquez 2023-10-22 18:40:38 -06:00
parent bc11b363c4
commit 46c2932861
1 changed files with 1 additions and 1 deletions

View File

@ -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,