🐛 Fix PayloadTooLargeError issue
This commit is contained in:
@@ -527,6 +527,7 @@ class App {
|
|||||||
// support application/x-www-form-urlencoded post data
|
// support application/x-www-form-urlencoded post data
|
||||||
this.app.use(
|
this.app.use(
|
||||||
bodyParser.urlencoded({
|
bodyParser.urlencoded({
|
||||||
|
limit: `${this.payloadSizeMax}mb`,
|
||||||
extended: false,
|
extended: false,
|
||||||
verify: (req, res, buf) => {
|
verify: (req, res, buf) => {
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
|
|||||||
Reference in New Issue
Block a user