Skip to content

Commit

Permalink
fix-#358: set json response limit
Browse files Browse the repository at this point in the history
  • Loading branch information
rushil-b-patel committed May 25, 2024
1 parent 19138dc commit 820c1dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ app.use(cors({
origin: FRONTEND_URL,
credentials: true
}));
app.use(express.json());
app.use(express.json( { limit: '50kb' }));
app.use(express.urlencoded());
app.use(cookieParser());
app.use(compression());
Expand Down

0 comments on commit 820c1dd

Please sign in to comment.