diff --git a/app.py b/app.py index 9a46eb5..3b109e9 100644 --- a/app.py +++ b/app.py @@ -189,17 +189,14 @@ class Room: rooms: dict[str, Room] = {} -API_ROOT = "http://127.0.0.1:8989" - - @app.GET("/") async def home(request): - return render(request, "index.html", {"API_ROOT": API_ROOT}) + return render(request, "index.html") @app.GET("/") async def home_with_id(request, id): - return render(request, "index.html", {"API_ROOT": API_ROOT}) + return render(request, "index.html") @app.POST("/join/")