remove unused "about" handler
This commit is contained in:
parent
ae59e020d8
commit
a2e0f9d2c6
1 changed files with 0 additions and 2 deletions
2
main.py
2
main.py
|
@ -36,8 +36,6 @@ def save():
|
|||
def get_ip() -> str:
|
||||
return (flask.request.headers.get("X-Real-IP") if REVERSE_PROXY else flask.request.remote_addr) or "0.0.0.0"
|
||||
|
||||
app.route("/about/")(lambda: open(BASE_DIR / "public/about.html", "rb").read())
|
||||
|
||||
@app.route("/", methods=["POST", "GET"])
|
||||
def index() -> bytes:
|
||||
ip = get_ip()
|
||||
|
|
Loading…
Reference in a new issue