We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa389ad commit 376d4a5Copy full SHA for 376d4a5
backend/src/api/index.ts
@@ -151,6 +151,7 @@ setImmediate(async () => {
151
152
app.use(
153
bodyParser.json({
154
+ limit: '5mb',
155
verify(req, res, buf) {
156
const url = (<any>req).originalUrl
157
if (url.startsWith('/webhooks/stripe') || url.startsWith('/webhooks/sendgrid')) {
@@ -162,7 +163,7 @@ setImmediate(async () => {
162
163
}),
164
)
165
- app.use(bodyParser.urlencoded({ extended: true }))
166
+ app.use(bodyParser.urlencoded({ limit: '5mb', extended: true }))
167
168
// Configure the Entity routes
169
const routes = express.Router()
0 commit comments