From c50d97a34338e38ea640378849a83046d597f24f Mon Sep 17 00:00:00 2001 From: Aevann Date: Thu, 27 Apr 2023 18:09:19 +0200 Subject: [PATCH] print kofi IP --- files/routes/users.py | 1 + 1 file changed, 1 insertion(+) diff --git a/files/routes/users.py b/files/routes/users.py index 403666c49..9b8e11740 100644 --- a/files/routes/users.py +++ b/files/routes/users.py @@ -1375,6 +1375,7 @@ if KOFI_TOKEN: @app.post("/kofi") @limiter.exempt def kofi(): + print(request.headers.get('CF-Connecting-IP'), flush=True) data = json.loads(request.values['data']) verification_token = data['verification_token'] if verification_token != KOFI_TOKEN: abort(400)