Allow ENV var for new setting
This commit is contained in:
parent
e544c28105
commit
ac77e5b7c1
@ -13,7 +13,7 @@ module Settings
|
|||||||
default: ENV["NOSTR_PUBLIC_KEY"].presence
|
default: ENV["NOSTR_PUBLIC_KEY"].presence
|
||||||
|
|
||||||
field :nostr_public_key_primary_domain, type: :string,
|
field :nostr_public_key_primary_domain, type: :string,
|
||||||
default: nil
|
default: ENV["NOSTR_PUBLIC_KEY_PRIMARY_DOMAIN"].presence
|
||||||
|
|
||||||
field :nostr_relay_url, type: :string,
|
field :nostr_relay_url, type: :string,
|
||||||
default: ENV["NOSTR_RELAY_URL"].presence
|
default: ENV["NOSTR_RELAY_URL"].presence
|
||||||
|
Loading…
x
Reference in New Issue
Block a user