mirror of
https://github.com/sudoxnym/habitica-self-host.git
synced 2026-07-15 10:42:23 +00:00
Set request size limit higher, because of iOS receipt sizes
This commit is contained in:
parent
6887fd70c0
commit
a2ce0ab099
1 changed files with 2 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue