aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-10-10 12:16:41 -0700
committerAdam Soltys <[email protected]>2024-10-10 12:17:05 -0700
commit0de0e3ba3719333f3884aeff26992adf1688c6ec (patch)
treec0ed293eb942ca34c412f952cb20f049e4b50300 /index.ts
parentd734c424f19bbec89274d828c3a2b70dd3ef221a (diff)
downloadcoinos-server-0de0e3ba3719333f3884aeff26992adf1688c6ec.tar.gz
coinos-server-0de0e3ba3719333f3884aeff26992adf1688c6ec.zip
2s maxwait
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index 5ce5747f..bec345ad 100644
--- a/index.ts
+++ b/index.ts
@@ -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);