aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-11-16 23:27:32 -0800
committerAdam Soltys <[email protected]>2024-11-16 23:27:55 -0800
commit4f5617ca59141a8bf64e131a8b2e6d39aa9cab4c (patch)
tree46e1bb7ecddc61765fbcfa58a328fc77f36095cb /index.ts
parent69c5b07a68e05d62d8503dbde310b06965330447 (diff)
downloadcoinos-server-4f5617ca59141a8bf64e131a8b2e6d39aa9cab4c.tar.gz
coinos-server-4f5617ca59141a8bf64e131a8b2e6d39aa9cab4c.zip
parse offers
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/index.ts b/index.ts
index d50f67df..03926604 100644
--- a/index.ts
+++ b/index.ts
@@ -67,6 +67,7 @@ app.post("/send", auth, payments.internal);
app.post("/gateway", payments.gateway);
app.post("/replace", auth, payments.replace);
app.get("/decode/:bolt11", payments.decode);
+app.get("/offer/:offer", payments.offer);
app.get("/encode", lnurl.encode);
app.get("/decode", lnurl.decode);