Add global settings for account service's Nostr keys
This commit is contained in:
parent
3f90a011c4
commit
46b4723999
@ -162,6 +162,12 @@ class Setting < RailsSettings::Base
|
|||||||
|
|
||||||
field :nostr_enabled, type: :boolean, default: false
|
field :nostr_enabled, type: :boolean, default: false
|
||||||
|
|
||||||
|
field :nostr_private_key, type: :string,
|
||||||
|
default: ENV["NOSTR_PRIVATE_KEY"].presence
|
||||||
|
|
||||||
|
field :nostr_public_key, type: :string,
|
||||||
|
default: ENV["NOSTR_PUBLIC_KEY"].presence
|
||||||
|
|
||||||
#
|
#
|
||||||
# OpenCollective
|
# OpenCollective
|
||||||
#
|
#
|
||||||
|
Loading…
x
Reference in New Issue
Block a user