This commit is contained in:
Aevann1 2022-01-24 01:06:34 +02:00
parent 025713e25b
commit c98ef138a2
22 changed files with 115 additions and 3402 deletions

View file

@ -61,7 +61,7 @@ app.config['DESCRIPTION'] = environ.get("DESCRIPTION", "rdrama.net caters to dra
r=redis.Redis(host=environ.get("REDIS_URL", "redis://localhost"), decode_responses=True, ssl_cert_reqs=None)
def get_CF() -> str:
def get_CF():
with app.app_context():
return request.headers.get('CF-Connecting-IP')