Skip to content

Commit

Permalink
fix: restrictive json parser limit. increased to 5mb
Browse files Browse the repository at this point in the history
  • Loading branch information
wwills2 committed Dec 3, 2024
1 parent 1d16f7f commit bd583db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middleware.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ app.use(
}),
);

app.use(express.json());
app.use(express.json({ limit: '5mb' }));
app.use(bodyParser.urlencoded({ extended: false }));

// Request logger middleware
Expand Down

0 comments on commit bd583db

Please sign in to comment.