From 0b7049e27b36eae52b3b87c8e72dd6d08d7c1cb5 Mon Sep 17 00:00:00 2001 From: Jan Oberhauser Date: Fri, 10 Sep 2021 11:59:55 +0200 Subject: [PATCH] :bug: Fix PayloadTooLargeError issue --- packages/cli/src/Server.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index aaec3bf56d..16d22a04bb 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -527,6 +527,7 @@ class App { // support application/x-www-form-urlencoded post data this.app.use( bodyParser.urlencoded({ + limit: `${this.payloadSizeMax}mb`, extended: false, verify: (req, res, buf) => { // @ts-ignore