From e6a60150b55d1615505067357aa98e3df28c21b4 Mon Sep 17 00:00:00 2001 From: Julien Genestoux Date: Wed, 26 Feb 2025 13:57:02 -0500 Subject: [PATCH] fix(locksmith): adding higher limit for file uploads --- locksmith/src/app.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/locksmith/src/app.ts b/locksmith/src/app.ts index 84cdec3d358..a99de87a5de 100644 --- a/locksmith/src/app.ts +++ b/locksmith/src/app.ts @@ -30,7 +30,7 @@ app.use(cookieParser()) app.use(cors()) // Parse body -app.use(express.urlencoded({ extended: true })) +app.use(express.urlencoded({ limit: '5mb', extended: true })) app.use(express.json({ limit: '5mb' })) // Request logging not when testing