From 92fa475acd48ccb563b2f0fc0f0e8bcbd93809ba Mon Sep 17 00:00:00 2001 From: Aevann Date: Fri, 11 Aug 2023 16:22:25 +0300 Subject: [PATCH] remove nig=a --- files/routes/wrappers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/routes/wrappers.py b/files/routes/wrappers.py index 087f0b0534..cee0249c8c 100644 --- a/files/routes/wrappers.py +++ b/files/routes/wrappers.py @@ -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"))