Add name's pubkey to nip46 entry of nostr.json
This commit is contained in:
parent
39920c975f
commit
43151f36b6
|
@ -906,6 +906,7 @@ app.get(JSON_PATH, async (req, res) => {
|
|||
if (rec) {
|
||||
const { data: pubkey } = nip19.decode(rec.npub);
|
||||
data.names[rec.name] = pubkey;
|
||||
data.nip46[pubkey] = [BUNKER_RELAY];
|
||||
}
|
||||
|
||||
res.status(200).send(data);
|
||||
|
|
Loading…
Reference in New Issue
Block a user