Skip to content

Commit

Permalink
Increase body-parser limit (#3903)
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot authored Aug 7, 2024
1 parent 0112499 commit 516f30d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/toolpad-studio/src/server/rpc.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export function createRpcHandler(definition: MethodResolvers): express.RequestHa
const router = express.Router();
router.post(
'/',
express.json(),
express.json({ limit: '50mb' }),
asyncHandler(async (req, res) => {
const parseResult = rpcRequestSchema.safeParse(req.body);
if (!parseResult.success) {
Expand Down

0 comments on commit 516f30d

Please sign in to comment.