Modified app.py

This commit is contained in:
it00147
2025-11-27 17:04:20 +00:00
parent 14ec67b0d0
commit 095b2ff1f0

8
app.py
View File

@@ -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)