Hello, I have been trying to fix a deployment issue with vercel with no success the error i am getting is Image1, when it comes to local development the project does not have any issue. I am using contentful for cms and route.ts
import { client } from "@/lib/contentful_config"; import { NextResponse } from "next/server"; export const dynamic = "force-dynamic"; export const GET = async (request: Request) => { const entries = await client.getEntries({ content_type: "something" }); return NextResponse.json(entries.items); };
NB: locally everything is fine apart from when i deploy it to vercel.