diff options
| author | Adam Soltys <[email protected]> | 2026-03-06 20:14:07 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-03-06 20:14:07 -0800 |
| commit | be75abbef81e0081d4825e6039aaf51a2407a06d (patch) | |
| tree | 8c4f2e382f7a35946f7efe86f16d9c3a475f3892 /index.ts | |
| parent | 13c8faa65dc75a14a6eb6b4dc8cfc677c3cb5c47 (diff) | |
| download | coinos-server-be75abbef81e0081d4825e6039aaf51a2407a06d.tar.gz coinos-server-be75abbef81e0081d4825e6039aaf51a2407a06d.zip | |
profile search
Diffstat (limited to 'index.ts')
| -rw-r--r-- | index.ts | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -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); |
