aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts3
1 files changed, 3 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index e4212c0e..0c2010ed 100644
--- a/index.ts
+++ b/index.ts
@@ -55,6 +55,9 @@ 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("/zaps/:id", nostr.zaps);
+app.post("/zap", auth, nostr.zap);
+app.post("/zapRequest", auth, nostr.zapRequest);
app.get("/info", payments.info);
app.post("/payments", auth, payments.create);