Skip to content

Commit 4f78d44

Browse files
authored
update serve.js to 6mb
update serve.js to 6mb
1 parent d68751e commit 4f78d44

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/serve.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,8 @@ exports.listen = function(port) {
7979
var config = conf.load();
8080
var app = express();
8181
var dir = config.build.functions || config.build.Functions;
82-
app.use(bodyParser.raw({limit: "10mb"}));
83-
app.use(bodyParser.text({limit: "10mb", type: "*/*"}));
82+
app.use(bodyParser.raw({limit: "6mb"}));
83+
app.use(bodyParser.text({limit: "6mb", type: "*/*"}));
8484
app.use(expressLogging(console, {
8585
blacklist: ['/favicon.ico'],
8686
}));

0 commit comments

Comments
 (0)