Commit 90f968b4 by Ravindra Kanojiya

updated image size limit

1 parent c81b489f
...@@ -5,6 +5,12 @@ module.exports = [ ...@@ -5,6 +5,12 @@ module.exports = [
name: "strapi::security", name: "strapi::security",
config: { config: {
contentSecurityPolicy: { contentSecurityPolicy: {
formLimit: "256mb", // modify form body
jsonLimit: "256mb", // modify JSON body
textLimit: "256mb", // modify text body
formidable: {
maxFileSize: 200 * 1024 * 1024, // multipart data, modify here limit of uploaded file size
},
useDefaults: true, useDefaults: true,
directives: { directives: {
"connect-src": ["'self'", "https:"], "connect-src": ["'self'", "https:"],
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!