diff options
| author | Adam Soltys <[email protected]> | 2024-10-10 12:16:41 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2024-10-10 12:17:05 -0700 |
| commit | 0de0e3ba3719333f3884aeff26992adf1688c6ec (patch) | |
| tree | c0ed293eb942ca34c412f952cb20f049e4b50300 /index.ts | |
| parent | d734c424f19bbec89274d828c3a2b70dd3ef221a (diff) | |
| download | coinos-server-0de0e3ba3719333f3884aeff26992adf1688c6ec.tar.gz coinos-server-0de0e3ba3719333f3884aeff26992adf1688c6ec.zip | |
2s maxwait
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -47,9 +47,11 @@ app.get("/invoice/:id", invoices.get); app.post("/invoice", optional, invoices.create); app.get("/nostr.json", nostr.identities); +app.get("/:pubkey/count", nostr.count); app.get("/:pubkey/followers", nostr.followers); app.get("/:pubkey/follows", nostr.follows); app.get("/event/:id", nostr.event); +app.post("/event", auth, nostr.publish); app.get("/info", payments.info); app.post("/payments", auth, payments.create); |
