Add global setting for own nostr relay

This commit is contained in:
2024-06-19 19:57:09 +02:00
parent 00b73b06d7
commit 926dc06294
3 changed files with 13 additions and 0 deletions

View File

@@ -169,6 +169,9 @@ class Setting < RailsSettings::Base
field :nostr_public_key, type: :string,
default: ENV["NOSTR_PUBLIC_KEY"].presence
field :nostr_relay_url, type: :string,
default: ENV["NOSTR_RELAY_URL"].presence
field :nostr_zaps_relay_limit, type: :integer,
default: 12