From a2e0f9d2c6dbba7a06d0cc77c4551fb43abf8af9 Mon Sep 17 00:00:00 2001 From: trinkey Date: Fri, 20 Dec 2024 17:43:32 -0500 Subject: [PATCH] remove unused "about" handler --- main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main.py b/main.py index a4d43b8..06351ec 100644 --- a/main.py +++ b/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()