Set request size limit higher, because of iOS receipt sizes

This commit is contained in:
Phillip Thelen
2023-03-01 14:48:50 +01:00
parent 6887fd70c0
commit a2ce0ab099

View File

@@ -12,8 +12,9 @@ const webhookData = {};
app.use(bodyParser.urlencoded({
extended: true,
limit: '10mb'
}));
app.use(bodyParser.json());
app.use(bodyParser.json({limit: '10mb'}));
app.post('/webhooks/:id', (req, res) => {
const { id } = req.params;