mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-02-03 00:31:25 -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:
|
if block_list:
|
||||||
for domain in block_list.split('\n'):
|
for domain in block_list.split('\n'):
|
||||||
db.session.add(Domain(name=domain.strip(), banned=True))
|
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/")
|
print("Added 'Peertube Isolation' blocklist, see https://peertube_isolation.frama.io/")
|
||||||
|
|
||||||
# Initial roles
|
# Initial roles
|
||||||
|
|
Loading…
Add table
Reference in a new issue