Make POW configurable, expose over the API

This commit is contained in:
Alex Gleason
2023-09-10 15:37:32 -05:00
parent b725550fc4
commit 607ef4b980
3 changed files with 11 additions and 1 deletions

View File

@@ -53,6 +53,9 @@ const instanceController: AppController = (c) => {
nostr: {
pubkey: Conf.pubkey,
relay: `${wsProtocol}//${host}/relay`,
pow: {
registrations: Conf.pow.registrations,
},
},
rules: [],
});