Skip to content

Commit

Permalink
Increased HTTP request size (#114)
Browse files Browse the repository at this point in the history
* Added limit to JSON request body

* Update package-lock.json
  • Loading branch information
vinnie4k authored Oct 8, 2023
1 parent 31a508a commit 47193d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const main = async () => {
const app = Express();

app.use(Express.urlencoded({ extended: false }));
app.use(Express.json());
app.use(Express.json({ limit: '50mb' }));

const server = new ApolloServer({
schema,
Expand Down

0 comments on commit 47193d4

Please sign in to comment.