From 99cb28918373becbeaa2744fa98fcf85b4b92139 Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Fri, 21 Jan 2022 13:31:41 +0200 Subject: [PATCH] fsd --- files/__main__.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/files/__main__.py b/files/__main__.py index d3181ce9a5..6aa20a8b43 100644 --- a/files/__main__.py +++ b/files/__main__.py @@ -65,7 +65,6 @@ r=redis.Redis(host=environ.get("REDIS_URL", "redis://localhost"), decode_respons def get_CF() -> str: with app.app_context(): - print('real: ' + request.headers.get('CF-Connecting-IP')) return request.headers.get('CF-Connecting-IP') limiter = Limiter( @@ -88,10 +87,6 @@ mail = Mail(app) @app.before_request def before_request(): - print('first: ' + request.access_route[0]) - print('second: ' + request.remote_addr) - print('third: ' + request.headers.get('CF-Connecting-IP')) - if request.method.lower() != "get" and app.config["READ_ONLY"]: return {"error":f"{app.config['SITE_NAME']} is currently in read-only mode."}, 500