Added sample configs to demo allowlists.
This commit is contained in:
parent
42cdddbe3f
commit
d7d0859030
|
@ -21,6 +21,13 @@ blocklist_url_sources = [
|
|||
|
||||
]
|
||||
|
||||
## These global allowlists override blocks from blocklists
|
||||
# These are the same format and structure as blocklists, but they take precedence
|
||||
allowlist_url_sources = [
|
||||
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-01.csv', format = 'csv' },
|
||||
{ url = 'https://raw.githubusercontent.com/eigenmagic/fediblockhole/main/samples/demo-allowlist-02.csv', format = 'csv' },
|
||||
]
|
||||
|
||||
# List of instances to write blocklist to
|
||||
blocklist_instance_destinations = [
|
||||
# { domain = 'eigenmagic.net', token = '<read_write_token>', max_followed_severity = 'silence'},
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
"domain","severity","private_comment","public_comment","reject_media","reject_reports","obfuscate"
|
||||
"eigenmagic.net","noop","Never block me","Only the domain field matters",False,False,False
|
||||
"example.org","noop","Never block me either","The severity is ignored as are all other fields",False,False,False
|
|
|
@ -0,0 +1,2 @@
|
|||
"domain","private_comment"
|
||||
"example.org","The private comment won't get loaded, but can be handy to leave yourself a note."
|
|
Loading…
Reference in New Issue