diff options
| author | Adam Soltys <[email protected]> | 2022-10-01 23:41:09 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-10-01 23:41:10 +0000 |
| commit | b8a395859b54fd749286e2a2e6cb9f30bd75b185 (patch) | |
| tree | 18698a33102474097fa4e27834e7f4787a78d473 /index.js | |
| parent | b5e85cde1015c2ffd5b25dec8f281089ff12b8d8 (diff) | |
| download | coinos-server-b8a395859b54fd749286e2a2e6cb9f30bd75b185.tar.gz coinos-server-b8a395859b54fd749286e2a2e6cb9f30bd75b185.zip | |
fix liquid receipts
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -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}`); |
