Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-strapi
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit 90f968b4
authored
2024-04-10 14:32:39 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
updated image size limit
1 parent
c81b489f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
config/middlewares.js
config/middlewares.js
View file @
90f968b
...
@@ -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:"
],
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment