Skip to content

Instantly share code, notes, and snippets.

@GiovanniFrigo
Last active July 20, 2020 16:53
Show Gist options
  • Save GiovanniFrigo/499e4ab1774d21eb6e9c8670eaaf943a to your computer and use it in GitHub Desktop.
Save GiovanniFrigo/499e4ab1774d21eb6e9c8670eaaf943a to your computer and use it in GitHub Desktop.
Random collection of strapi config files to try to solve the maxFileSize issue (filenames have reverse slash because gists filenames can't have slashes in their name)
{
"enabled": true,
"provider": "local",
"providerOptions": {
"sizeLimit": 10737418240
}
}
{
"enabled": true,
"provider": "local",
"providerOptions": {
"sizeLimit": 10737418240
},
"parser": {
"enabled": true,
"multipart": true,
"formLimit": "5mb",
"jsonLimit": "5mb",
"sizeLimit": 10737418240
}
}
{
"enabled": true,
"provider": "local",
"providerOptions": {
"sizeLimit": 10737418240
}
}
{
"enabled": true,
"provider": "local",
"providerOptions": {
"sizeLimit": 10737418240
}
}
{
"upload": {
"enabled": true,
"multipart": true,
"formidable": {
"maxFileSize": 10737418240
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment