mirror of
https://github.com/scsibug/nostr-rs-relay.git
synced 2024-11-24 09:39:08 -05:00
improvement: configure pay-to-relay defaults and comment block
This commit is contained in:
parent
43021910ea
commit
5508020777
47
config.toml
47
config.toml
|
@ -177,38 +177,39 @@ reject_future_seconds = 1800
|
|||
|
||||
[pay_to_relay]
|
||||
# Enable pay to relay
|
||||
enabled = false
|
||||
#enabled = false
|
||||
|
||||
# The cost to be admitted to relay
|
||||
admission_cost = 1000
|
||||
#admission_cost = 4200
|
||||
|
||||
# The cost in sats per post
|
||||
cost_per_event = 0
|
||||
#cost_per_event = 0
|
||||
|
||||
# Url of lnbits api
|
||||
node_url = "<node url>"
|
||||
#node_url = "<node url>"
|
||||
|
||||
# LNBits api secret
|
||||
api_secret = "<ln bits api>"
|
||||
#api_secret = "<ln bits api>"
|
||||
|
||||
# Terms of service
|
||||
terms_message = """
|
||||
This service (and supporting services) are provided "as is", without warranty of any kind, express or implied.
|
||||
#terms_message = """
|
||||
#This service (and supporting services) are provided "as is", without warranty of any kind, express or implied.
|
||||
#
|
||||
#By using this service, you agree:
|
||||
#* Not to engage in spam or abuse the relay service
|
||||
#* Not to disseminate illegal content
|
||||
#* That requests to delete content cannot be guaranteed
|
||||
#* To use the service in compliance with all applicable laws
|
||||
#* To grant necessary rights to your content for unlimited time
|
||||
#* To be of legal age and have capacity to use this service
|
||||
#* That the service may be terminated at any time without notice
|
||||
#* That the content you publish may be removed at any time without notice
|
||||
#* To have your IP address collected to detect abuse or misuse
|
||||
#* To cooperate with the relay to combat abuse or misuse
|
||||
#* You may be exposed to content that you might find triggering or distasteful
|
||||
#* The relay operator is not liable for content produced by users of the relay
|
||||
#"""
|
||||
|
||||
By using this service, you agree:
|
||||
* Not to engage in spam or abuse the relay service
|
||||
* Not to disseminate illegal content
|
||||
* That requests to delete content cannot be guaranteed
|
||||
* To use the service in compliance with all applicable laws
|
||||
* To grant necessary rights to your content for unlimited time
|
||||
* To be of legal age and have capacity to use this service
|
||||
* That the service may be terminated at any time without notice
|
||||
* That the content you publish may be removed at any time without notice
|
||||
* To have your IP address collected to detect abuse or misuse
|
||||
* To cooperate with the relay to combat abuse or misuse
|
||||
* You may be exposed to content that you might find triggering or distasteful
|
||||
* The relay operator is not liable for content produced by users of the relay
|
||||
"""
|
||||
# Whether or not new sign ups should be allowed
|
||||
sign_ups = true
|
||||
secret_key = "<nostr nsec>"
|
||||
#sign_ups = false
|
||||
#secret_key = "<nostr nsec>"
|
||||
|
|
Loading…
Reference in New Issue
Block a user