Skip to content

Commit

Permalink
Update: Increase file size limit for media library
Browse files Browse the repository at this point in the history
  • Loading branch information
cp-sumi-k committed Feb 6, 2024
1 parent abaf1d7 commit d736bcc
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions admin/config/plugins.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ module.exports = ({ env }) => ({
},
},
},
settings: {
parser: {
formidable: {
maxFileSize: 50 * 1024 * 1024, // 50MB: file size limit for media library
},
},
},
"users-permissions": {
config: {
jwtSecret: env("JWT_SECRET"),
Expand Down

0 comments on commit d736bcc

Please sign in to comment.