From 4b1fa4f935d4908bc669765bbf055c7f4f5f00ec Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 1 Feb 2024 21:50:48 +0200 Subject: [PATCH] ??? --- files/routes/static.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/files/routes/static.py b/files/routes/static.py index aea119ee6..68f99b6b3 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -437,8 +437,9 @@ if SITE == 'watchpeopledie.tv': @app.get("/1706708037797343.mp4") @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400) @limiter.limit(DEFAULT_RATELIMIT, deduct_when=lambda response: response.status_code < 400, key_func=get_ID) - @auth_required def geoblock(v): + print('wtf', flush=True) + print(request.headers.get("Cf-Ipcountry"), flush=True) if request.headers.get("Cf-Ipcountry") == 'AU': abort(403) return send_file('/videos/1706708037797343.mp4')