Skip to content

Commit

Permalink
refactor(cms): Increase JSON payload to 50MB
Browse files Browse the repository at this point in the history
This will allow to upload bigger files through the Import/Export plugin.
  • Loading branch information
clementprdhomme committed Nov 14, 2024
1 parent 08a78be commit 2b88cd6
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cms/config/middlewares.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,12 @@ export default [
'strapi::cors',
'strapi::poweredBy',
'strapi::query',
'strapi::body',
{
name: 'strapi::body',
config: {
jsonLimit: '50mb',
},
},
'strapi::session',
'strapi::favicon',
'strapi::public',
Expand Down

0 comments on commit 2b88cd6

Please sign in to comment.