Merge branch 'nip11' into 'main'

NIP-11: fix pubkey field

See merge request soapbox-pub/ditto!82
This commit is contained in:
Alex Gleason 2023-12-20 04:02:07 +00:00
commit 5ea9cc399f
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ const relayInfoController: AppController = (c) => {
return c.json({ return c.json({
name: 'Ditto', name: 'Ditto',
description: 'Nostr and the Fediverse.', description: 'Nostr and the Fediverse.',
pubkey: '<administrative contact pubkey>', pubkey: Conf.pubkey,
contact: `mailto:${Conf.adminEmail}`, contact: `mailto:${Conf.adminEmail}`,
supported_nips: [1, 5, 9, 11, 45, 46, 98], supported_nips: [1, 5, 9, 11, 45, 46, 98],
software: 'Ditto', software: 'Ditto',