From c89e5de287530baf93722cb661f00d9762f7eb9f Mon Sep 17 00:00:00 2001 From: Nicola Marcacci Rossi Date: Tue, 18 Jun 2024 15:56:41 +0200 Subject: [PATCH] feat: Parsse xml --- index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/index.js b/index.js index ceeee25..5d6d321 100644 --- a/index.js +++ b/index.js @@ -38,6 +38,7 @@ Structure of route: app.use(cors({ origin: '*' })); app.use(bodyParser.json({ limit: '50mb' })); app.use(bodyParser.text({ limit: '50mb' })); +app.use(bodyParser.raw({ type: 'application/xml' })); const smtpServer = new SMTPServer({ authOptional: true,