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