Skip to content

Commit 85b6d31

Browse files
committed
fix: allow graphql endpoint to return larger responses
1 parent 1198e14 commit 85b6d31

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ You can also check the
1111

1212
## Unreleased
1313

14+
- Fixes
15+
- Allow GraphQL endpoint to return larger responses by increasing the response
16+
limit to 20 MB
17+
1418
### 6.3.1 – 2026-02-26
1519

1620
- Maintenance

app/pages/api/graphql.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ const server = new ApolloServer({
5656
export const config = {
5757
api: {
5858
bodyParser: false,
59+
responseLimit: "20mb",
5960
},
6061
// see https://vercel.com/docs/functions/configuring-functions/duration
6162
maxDuration: 60,

0 commit comments

Comments
 (0)