mirror of
https://codeberg.org/rimu/pyfedi
synced 2025-01-23 19:36:56 -08:00
add some default banned instances
This commit is contained in:
parent
95fe3aa32e
commit
388177c7c1
1 changed files with 5 additions and 1 deletions
|
@ -86,7 +86,11 @@ def register(app):
|
|||
db.session.add(Settings(name='registration_open', value=json.dumps(True)))
|
||||
db.session.add(Settings(name='approve_registrations', value=json.dumps(False)))
|
||||
db.session.add(Settings(name='federation', value=json.dumps(True)))
|
||||
banned_instances = ['anonib.al','lemmygrad.ml', 'gab.com', 'rqd2.net', 'exploding-heads.com', 'hexbear.net', 'threads.net', 'pieville.net', 'noauthority.social', 'pieville.net', 'links.hackliberty.org']
|
||||
banned_instances = ['anonib.al','lemmygrad.ml', 'gab.com', 'rqd2.net', 'exploding-heads.com', 'hexbear.net',
|
||||
'threads.net', 'noauthority.social', 'pieville.net', 'links.hackliberty.org',
|
||||
'poa.st', 'freespeechextremist.com', 'bae.st', 'nicecrew.digital', 'detroitriotcity.com',
|
||||
'pawoo.net', 'shitposter.club', 'spinster.xyz', 'catgirl.life', 'gameliberty.club',
|
||||
'yggdrasil.social', 'beefyboys.win', 'brighteon.social', 'cum.salon']
|
||||
for bi in banned_instances:
|
||||
db.session.add(BannedInstances(domain=bi))
|
||||
print("Added banned instance", bi)
|
||||
|
|
Loading…
Add table
Reference in a new issue