From e99601c0fafea7b6cc1c1e562a2e390620ba36cc Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 1 Feb 2024 22:15:13 +0200 Subject: [PATCH] try smth --- files/routes/static.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/static.py b/files/routes/static.py index 8caa7e57c..a747645f8 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -439,6 +439,7 @@ if SITE == 'watchpeopledie.tv': @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) def geoblock(): ip = request.headers.get("X-Forwarded-For") + print(ip, flush=True) req = requests.get(f'http://ipinfo.io/{ip}/json') country = json.loads(req.text) print(country, flush=True)