fix: conflict with index (func) and index(.json)

This commit is contained in:
Mathias DUPEUX 2025-04-17 22:17:24 +02:00
parent 005c1ab659
commit 49cf521506

View file

@ -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"])