Authored by 姜枫

fix maxFieldsSize

Showing 1 changed file with 1 additions and 1 deletions
@@ -42,7 +42,7 @@ app.use(convert(body({ @@ -42,7 +42,7 @@ app.use(convert(body({
42 formLimit: '10mb', 42 formLimit: '10mb',
43 textLimit: '10mb', 43 textLimit: '10mb',
44 formidable: { 44 formidable: {
45 - maxFieldsSize: 10 * 1024 45 + maxFieldsSize: 10 * 1024 * 1024
46 } 46 }
47 }))); 47 })));
48 app.use(mount('/', webApp)); 48 app.use(mount('/', webApp));