fix: FILE_STORAGE_UPLOAD_MAX_SIZE not considered for direct uploads. closes #6078

This commit is contained in:
Tom Moor
2023-10-26 21:57:48 -04:00
parent f23a7bd685
commit b53c595e1b

View File

@@ -44,6 +44,7 @@ api.use(
bodyParser({
multipart: true,
formidable: {
maxFileSize: env.FILE_STORAGE_UPLOAD_MAX_SIZE,
maxFieldsSize: 10 * 1024 * 1024,
},
})