diff --git a/mods/proxy/init.js b/mods/proxy/init.js index 8fd8cb31..b8a0639c 100644 --- a/mods/proxy/init.js +++ b/mods/proxy/init.js @@ -37,11 +37,11 @@ function proxy_post(req, res, next) { }, body: req.app.post }).then(result => { - console.log({ result }); if (result.ok) { res.writeHead(200, 'OK'); } else { res.writeHead(500, 'Failed to proxy'); + console.log({ result }); } res.end(); });