diff options
| author | Adam Soltys <[email protected]> | 2024-12-29 18:20:20 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-12-29 18:20:20 -0800 |
| commit | 8b019c4583bfd6676ea39ef16e9606316d269538 (patch) | |
| tree | 5caeba943e0db465b31f56418509f4acdd139c21 /index.ts | |
| parent | fb75896a4000fa689a940d86f61824a65e13454e (diff) | |
| download | coinos-server-8b019c4583bfd6676ea39ef16e9606316d269538.tar.gz coinos-server-8b019c4583bfd6676ea39ef16e9606316d269538.zip | |
nostr login
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -109,6 +109,8 @@ app.post("/request", auth, users.request); app.post("/forgot", users.forgot); app.post("/login", users.login); app.post("/printer", users.printer); +app.get("/challenge", users.challenge); +app.post("/nostrLogin", users.nostrLogin); app.get("/subscriptions", auth, users.subscriptions); app.post("/subscription", auth, users.subscription); @@ -137,7 +139,7 @@ app.post("/mint", auth, ecash.mint); app.post("/melt", auth, ecash.melt); app.post("/ecash/:id", ecash.receive); -app.get("/replay/:index", (req,res) => { +app.get("/replay/:index", (req, res) => { replay(req.params.index); res.send({}); }); |
