NZ geoblock

master
Aevann 2023-08-30 06:51:28 +03:00
parent 0b8891b673
commit 1afb393f98
1 changed files with 1 additions and 1 deletions

View File

@ -1134,7 +1134,7 @@ class User(Base):
if request.headers.get("Cf-Ipcountry") == 'NZ':
if 'christchurch' in other.title.lower():
return False
if SITE == 'watchpeopledie.tv' and other.id == 5:
if SITE == 'watchpeopledie.tv' and other.id in {5, 17212, 22653, 23814}:
return False
else:
if hasattr(other, 'is_blocking') and other.is_blocking and not request.path.endswith(f'/{other.id}'):