forked from rDrama/rDrama
remove nig=a
parent
45be4132ce
commit
92fa475acd
|
@ -107,7 +107,7 @@ def get_logged_in_user():
|
||||||
|
|
||||||
g.v = v
|
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)
|
abort(404)
|
||||||
|
|
||||||
g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr"))
|
g.is_api_or_xhr = bool((v and v.client) or request.headers.get("xhr"))
|
||||||
|
|
Loading…
Reference in New Issue