We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent af2a7b2 commit 61d8f2dCopy full SHA for 61d8f2d
‎src/ts/server.ts
@@ -26,8 +26,8 @@ export class Server {
26
lambda: path.join(process.cwd(), this.netlifyConfig.build.functions),
27
}
28
this.express = express();
29
- this.express.use(bodyParser.raw());
30
- this.express.use(bodyParser.text({type: "*/*"}));
+ this.express.use(bodyParser.raw({ limit: "6mb" }));
+ this.express.use(bodyParser.text({ limit: "6mb", type: "*/*" }));
31
this.express.use(this.netlifyConfig.build.base, serveStatic(this.paths.static))
32
this.routeLambdas();
33
this.routeRedirects();
0 commit comments