aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
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);