@versori/run 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -231,7 +231,7 @@ export class MemoryInterpreter {
|
|
|
231
231
|
const port = Deno.env.get('PORT') || 3000;
|
|
232
232
|
const cronPort = Deno.env.get('CRON_PORT') || 3001;
|
|
233
233
|
const webhookApp = express();
|
|
234
|
-
webhookApp.use(express.json()); // Add JSON body parser middleware
|
|
234
|
+
webhookApp.use(express.json({ limit: '50mb' })); // Add JSON body parser middleware
|
|
235
235
|
const cronApp = express();
|
|
236
236
|
cronApp.use(express.json());
|
|
237
237
|
const xml2jsDefaults = {
|
package/package.json
CHANGED
|
@@ -237,7 +237,7 @@ class MemoryInterpreter {
|
|
|
237
237
|
const port = Deno.env.get('PORT') || 3000;
|
|
238
238
|
const cronPort = Deno.env.get('CRON_PORT') || 3001;
|
|
239
239
|
const webhookApp = (0, express_1.default)();
|
|
240
|
-
webhookApp.use(express_1.default.json()); // Add JSON body parser middleware
|
|
240
|
+
webhookApp.use(express_1.default.json({ limit: '50mb' })); // Add JSON body parser middleware
|
|
241
241
|
const cronApp = (0, express_1.default)();
|
|
242
242
|
cronApp.use(express_1.default.json());
|
|
243
243
|
const xml2jsDefaults = {
|