From 37d1eacd984b23d1044447ecd225cf55fd84c906 Mon Sep 17 00:00:00 2001 From: Lars Willighagen Date: Fri, 22 Mar 2024 14:23:57 +0100 Subject: [PATCH] Increase input size limit --- src/endpoint.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/endpoint.js b/src/endpoint.js index a683287..a13c40a 100644 --- a/src/endpoint.js +++ b/src/endpoint.js @@ -12,7 +12,7 @@ const runserver = ( port=3003 ) => { const routes = require("./routes/routes.js"); //MiddleWares - app.use(bodyParser.json()); + app.use(bodyParser.json({limit:'500kb'})); app.use(cookieparser()); app.use(cors({ origin: '*',