forked from rDrama/rDrama
1
0
Fork 0

remove nig=a

master
Aevann 2023-08-11 16:22:25 +03:00
parent 45be4132ce
commit 92fa475acd
1 changed files with 1 additions and 1 deletions

View File

@ -107,7 +107,7 @@ def get_logged_in_user():
g.v = v
if not v and SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG' and request.method == 'GET' and request.full_path != '/login?nig=a':
if not v and SITE == 'rdrama.net' and request.headers.get("Cf-Ipcountry") == 'EG':
abort(404)
g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr"))