mirror of
https://gitlab.com/soapbox-pub/ditto.git
synced 2025-12-06 11:29:46 +00:00
instance: actually, put all this under a nostr key
This commit is contained in:
parent
baf4c00fee
commit
3c279175bc
1 changed files with 4 additions and 5 deletions
|
|
@ -38,15 +38,14 @@ function instanceController(c: Context) {
|
|||
user_count: 0,
|
||||
},
|
||||
urls: {
|
||||
/** Base URL for the streaming API, so it can be hosted on another domain. Clients will add `/api/v1/streaming` to it. */
|
||||
streaming_api: `${wsProtocol}//${host}`,
|
||||
/** Full URL to the Nostr relay. */
|
||||
nostr_relay: `${wsProtocol}//${host}/relay`,
|
||||
},
|
||||
version: '0.0.0 (compatible; Ditto 0.0.1)',
|
||||
email: Conf.adminEmail,
|
||||
/** Ditto admin pubkey, so clients can query and validate Nostr events from the server. */
|
||||
pubkey: Conf.pubkey,
|
||||
nostr: {
|
||||
pubkey: Conf.pubkey,
|
||||
relay: `${wsProtocol}//${host}/relay`,
|
||||
},
|
||||
rules: [],
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue