Added new config for runner
/ Deploy to Cloudflare Pages (push) Failing after 33s
Details
/ Deploy to Cloudflare Pages (push) Failing after 33s
Details
This commit is contained in:
parent
bc11b363c4
commit
46c2932861
|
@ -2,7 +2,7 @@ import rss from "@astrojs/rss";
|
||||||
import type { APIRoute } from "astro";
|
import type { APIRoute } from "astro";
|
||||||
import { getCollection } from "astro:content";
|
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 posts = await getCollection("blog");
|
||||||
const items = posts.map(({ data: { image, title, exerpt, date }, slug }) => ({
|
const items = posts.map(({ data: { image, title, exerpt, date }, slug }) => ({
|
||||||
title,
|
title,
|
||||||
|
|
Loading…
Reference in New Issue