aboutsummaryrefslogtreecommitdiffstats
path: root/index.ts
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-06 20:14:07 -0800
committerAdam Soltys <[email protected]>2026-03-06 20:14:07 -0800
commitbe75abbef81e0081d4825e6039aaf51a2407a06d (patch)
tree8c4f2e382f7a35946f7efe86f16d9c3a475f3892 /index.ts
parent13c8faa65dc75a14a6eb6b4dc8cfc677c3cb5c47 (diff)
downloadcoinos-server-be75abbef81e0081d4825e6039aaf51a2407a06d.tar.gz
coinos-server-be75abbef81e0081d4825e6039aaf51a2407a06d.zip
profile search
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 62db60f7..a6cfa3de 100644
--- a/index.ts
+++ b/index.ts
@@ -23,6 +23,7 @@ import { sendHeartbeat, websocket } from "$lib/sockets";
import { initTigerBeetle } from "$lib/tb";
import { startZmq } from "$lib/zmq";
import { listenForDMs } from "$lib/dmNotifications";
+import { initMlsIndex } from "$lib/mls";
import ecash from "$routes/ecash";
import email from "$routes/email";
@@ -59,6 +60,7 @@ try {
setTimeout(listenForLightning, 2000);
listenForDMs();
+initMlsIndex();
setInterval(sendHeartbeat, 2000);
app.get("/balances", info.balances);
@@ -81,6 +83,7 @@ app.post("/sign", auth, invoices.sign);
app.get("/assetlinks.json", (_c) => {
return new Response(Bun.file("assetlinks.json"));
});
+app.get("/mls/users", nostr.mlsUsers);
app.get("/nostr.json", nostr.identities);
app.get("/profile/:profile", nostr.profile);
app.get("/:pubkey/count", nostr.count);