aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2025-03-07 14:23:28 -0800
committerAdam Soltys <[email protected]>2025-03-07 14:23:28 -0800
commita7667374c8a60b96646650c94a858d55cfb53124 (patch)
treed50779f8d6e4d1e54142d46ac5b05b220b1428b2 /index.ts
parented4374f335bde14fa8e7da90dbce8335338ff72d (diff)
downloadcoinos-server-a7667374c8a60b96646650c94a858d55cfb53124.tar.gz
coinos-server-a7667374c8a60b96646650c94a858d55cfb53124.zip
nwc date comparison in seconds
Diffstat (limited to 'index.ts')
-rw-r--r--index.ts4
1 files changed, 1 insertions, 3 deletions
diff --git a/index.ts b/index.ts
index 6820dfaf..8f45adad 100644
--- a/index.ts
+++ b/index.ts
@@ -48,9 +48,7 @@ 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("/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);