aboutsummaryrefslogtreecommitdiffstats
path: root/index.js
diff options
context:
space:
mode:
Diffstat (limited to 'index.js')
-rw-r--r--index.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/index.js b/index.js
index 2c59b8e6..ed4e0827 100644
--- a/index.js
+++ b/index.js
@@ -42,8 +42,9 @@ app.post("/event", nostr.broadcast);
app.get("/locations", locations.list);
-app.get("/invoice", invoices.get);
+app.get("/invoice/:hash", invoices.get);
app.post("/invoice", optional, invoices.create);
+app.get("/invoice/classic/:username", invoices.classic);
app.post("/payments", auth, payments.create);
app.get("/payments", auth, payments.list);