add fash peertube instances to defederation list, not just domain block (used for post links)

This commit is contained in:
rimu 2024-05-31 21:56:40 +12:00
parent 30f2b5a681
commit bc78bcf146

View file

@ -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