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

This commit is contained in:
Tom Moor committed 2023-10-26 21:57:48 -04:00
1 parent f23a7bd685
commit b53c595e1b
1 file changed
+1
+1
View File
@@ -44,6 +44,7 @@ api.use(
bodyParser({
multipart: true,
formidable: {
maxFileSize: env.FILE_STORAGE_UPLOAD_MAX_SIZE,
maxFieldsSize: 10 * 1024 * 1024,
},
})