mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
add fash peertube instances to defederation list, not just domain block (used for post links)
This commit is contained in:
parent
30f2b5a681
commit
bc78bcf146
1 changed files with 1 additions and 0 deletions
|
@ -113,6 +113,7 @@ def register(app):
|
|||
if block_list:
|
||||
for domain in block_list.split('\n'):
|
||||
db.session.add(Domain(name=domain.strip(), banned=True))
|
||||
db.session.add(BannedInstances(domain=domain.strip()))
|
||||
print("Added 'Peertube Isolation' blocklist, see https://peertube_isolation.frama.io/")
|
||||
|
||||
# Initial roles
|
||||
|
|
Loading…
Reference in a new issue