Skip to content

Commit

Permalink
fix: max upload size for post
Browse files Browse the repository at this point in the history
  • Loading branch information
Sembauke committed Nov 16, 2023
1 parent 2448371 commit feef77e
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion apps/backend/config/middlewares.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@ module.exports = [
"strapi::poweredBy",
"strapi::logger",
"strapi::query",
"strapi::body",
"strapi::session",
"strapi::favicon",
"strapi::public",
{
name: "strapi::body",
config: {
formLimit: "256mb",
jsonLimit: "256mb",
textLimit: "256mb",
formidable: {
maxFileSize: 250 * 1024 * 1024,
},
},
},
];

0 comments on commit feef77e

Please sign in to comment.