diff options
| author | Adam Soltys <[email protected]> | 2022-12-20 17:42:12 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-12-20 17:42:12 -0800 |
| commit | a574285fe3b1de4fdfda342ed287bbc53a57400a (patch) | |
| tree | 65193ad7345932d47aff9e007e66536670abf87f /index.js | |
| parent | aa662369cc7a293d0be5f4d419543a51ad40a7bc (diff) | |
| parent | aecec231b6d94b0707b840a7153bd05a057f49c7 (diff) | |
| download | coinos-server-a574285fe3b1de4fdfda342ed287bbc53a57400a.tar.gz coinos-server-a574285fe3b1de4fdfda342ed287bbc53a57400a.zip | |
Merge remote-tracking branch 'origin/prod'
Diffstat (limited to 'index.js')
| -rw-r--r-- | index.js | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -41,6 +41,12 @@ app.post('/echo', optionalAuth, async (req, res) => { res.send(req.body); }); +app.get('/nostr.json', async (req, res) => { + res.send({ + names: { adam: "566c166f3adab0c8fba5da015b0b3bcc8eb3696b455f2a1d43bfbd97059646a8", asoltys: "566c166f3adab0c8fba5da015b0b3bcc8eb3696b455f2a1d43bfbd97059646a8" } + }); +}); + app.listen({ host, port }, (e, address) => { e && err(e) && process.exit(1); l(`CoinOS Server listening on ${address}`); |
