yolo
This commit is contained in:
parent
025713e25b
commit
c98ef138a2
22 changed files with 115 additions and 3402 deletions
|
@ -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')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue