We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents eee04c4 + 4f78d44 commit 4526939Copy full SHA for 4526939
lib/serve.js
@@ -79,8 +79,8 @@ exports.listen = function(port) {
79
var config = conf.load();
80
var app = express();
81
var dir = config.build.functions || config.build.Functions;
82
- app.use(bodyParser.raw());
83
- app.use(bodyParser.text({type: "*/*"}));
+ app.use(bodyParser.raw({limit: "6mb"}));
+ app.use(bodyParser.text({limit: "6mb", type: "*/*"}));
84
app.use(expressLogging(console, {
85
blacklist: ['/favicon.ico'],
86
}));
0 commit comments