fix: conflict with index (func) and index(.json)
This commit is contained in:
parent
005c1ab659
commit
49cf521506
1 changed files with 1 additions and 1 deletions
2
main.py
2
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"])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue