remove unused "about" handler

This commit is contained in:
trinkey 2024-12-20 17:43:32 -05:00
parent ae59e020d8
commit a2e0f9d2c6

View file

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