Browse Source

调整配置

MaiXinRong 6 years ago
parent
commit
2510372611
1 changed files with 5 additions and 0 deletions
  1. 5 0
      config/config.default.js

+ 5 - 0
config/config.default.js

@@ -130,5 +130,10 @@ module.exports = appInfo => {
         }
     };
 
+    config.bodyParser = {
+        jsonLimit: '10mb',
+        formLimit: '10mb',
+    };
+
     return config;
 };