From 85b6d31e8ba2a6b933b251f2bb2a2bdc33bdef7c Mon Sep 17 00:00:00 2001 From: Ludovic Muller Date: Tue, 3 Mar 2026 12:49:55 +0100 Subject: [PATCH] fix: allow graphql endpoint to return larger responses --- CHANGELOG.md | 4 ++++ app/pages/api/graphql.ts | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0da815d8e..8ee6e87f5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,10 @@ You can also check the ## Unreleased +- Fixes + - Allow GraphQL endpoint to return larger responses by increasing the response + limit to 20 MB + ### 6.3.1 – 2026-02-26 - Maintenance diff --git a/app/pages/api/graphql.ts b/app/pages/api/graphql.ts index 949da020b..7a9143343 100644 --- a/app/pages/api/graphql.ts +++ b/app/pages/api/graphql.ts @@ -56,6 +56,7 @@ const server = new ApolloServer({ export const config = { api: { bodyParser: false, + responseLimit: "20mb", }, // see https://vercel.com/docs/functions/configuring-functions/duration maxDuration: 60,