From 49cf52150626cae9d302917a9b8aa7148ed252b0 Mon Sep 17 00:00:00 2001 From: MathiasDPX Date: Thu, 17 Apr 2025 22:17:24 +0200 Subject: [PATCH] fix: conflict with index (func) and index(.json) --- main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.py b/main.py index 497fc34..b5b0216 100644 --- a/main.py +++ b/main.py @@ -130,7 +130,7 @@ def websocket(ws): ws.send(json.dumps({"1": "Mathias"})) @app.route("/") -def index(): +def index_page(): return render_template("index.html") @app.route("/user/info", methods=["POST", "OPTIONS"])