From b8a395859b54fd749286e2a2e6cb9f30bd75b185 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 1 Oct 2022 23:41:09 +0000 Subject: fix liquid receipts --- index.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'index.js') diff --git a/index.js b/index.js index 5a7a44bc..c96abe5f 100644 --- a/index.js +++ b/index.js @@ -28,6 +28,11 @@ if (config.lna) store.networks.push("lightning"); let host = process.env.HOST || "0.0.0.0"; let port = process.env.PORT || 3119; +app.post('/echo', async (req, res) => { + console.log(req.body) + res.send(req.body); +}); + app.listen({ host, port }, (e, address) => { e && err(e) && process.exit(1); l(`CoinOS Server listening on ${address}`); -- cgit v1.2.3