From 11e624584f9d557a4eb6fb14cfb307e04c025e49 Mon Sep 17 00:00:00 2001 From: Johnny Niklasson Date: Thu, 16 May 2024 09:20:29 +0200 Subject: [PATCH] Remove console log for token (#257) Remove console log, which would log entire request, including token --- server.js | 5 ----- 1 file changed, 5 deletions(-) diff --git a/server.js b/server.js index 9e26caf1..a35a9bce 100644 --- a/server.js +++ b/server.js @@ -18,14 +18,9 @@ app.use( '/api', proxy(DAPLA_TEAM_API_URL, { proxyReqBodyDecorator: function (bodyContent, srcReq) { - console.log(`Request Body: ${bodyContent}`) return bodyContent }, proxyReqOptDecorator: function (proxyReqOpts, srcReq) { - console.log(`Request Headers:`, srcReq.headers) - if (srcReq.body) { - console.log(`Request Body:`, srcReq.body) - } return proxyReqOpts }, proxyReqPathResolver: function (req) {