Modified app.py
This commit is contained in:
8
app.py
8
app.py
@@ -251,11 +251,6 @@ def index():
|
||||
ripe=ripe_info,
|
||||
show_logo=True,
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=8000)
|
||||
|
||||
@app.route("/debug")
|
||||
def debug():
|
||||
from flask import jsonify
|
||||
@@ -265,3 +260,6 @@ def debug():
|
||||
x_real_ip=request.headers.get("X-Real-IP"),
|
||||
all_headers=dict(request.headers),
|
||||
)
|
||||
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=8000)
|
||||
|
||||
Reference in New Issue
Block a user