From be75abbef81e0081d4825e6039aaf51a2407a06d Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 6 Mar 2026 20:14:07 -0800 Subject: profile search --- index.ts | 3 +++ 1 file changed, 3 insertions(+) (limited to 'index.ts') 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); -- cgit v1.2.3