aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-03-05 17:24:55 +0000
committerAdam Soltys <[email protected]>2025-03-05 17:24:55 +0000
commit1411597923c5de50e804e564387ce51c5991f102 (patch)
treeab1ddc924acf839bbf59c83c9605dda63bb58493 /index.ts
parent1b83f8398d34994b62c88fada6dba6a183227cbe (diff)
downloadcoinos-server-1411597923c5de50e804e564387ce51c5991f102.tar.gz
coinos-server-1411597923c5de50e804e564387ce51c5991f102.zip
record payment_hash
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 b82ae4dc..6820dfaf 100644
--- a/index.ts
+++ b/index.ts
@@ -48,6 +48,9 @@ app.get("/invoices", auth, invoices.list);
app.post("/invoice", optional, invoices.create);
app.post("/sign", auth, invoices.sign);
+app.get("/assetlinks.json", (_,res) => {
+ res.sendFile('assetlinks.json');
+});
app.get("/nostr.json", nostr.identities);
app.get("/profile/:profile", nostr.profile);
app.get("/:pubkey/count", nostr.count);