increase express JSON body parsing limit to 50mb

This commit is contained in:
Alaguraj0361 2026-07-31 16:30:26 +05:30
parent 6435a014c3
commit 4ba5f3f804

View File

@ -16,6 +16,7 @@ const PORT = process.env.PORT || 3000;
// Middleware to capture raw body for Shopify webhook HMAC verification
app.use(express.json({
limit: '50mb',
verify: (req, res, buf) => {
req.rawBody = buf;
}