From 975e813947ea3221367d654c5e47741cccf89f5c Mon Sep 17 00:00:00 2001 From: 0880 <98263509+0880880@users.noreply.github.com> Date: Sat, 17 Jan 2026 18:56:03 +0330 Subject: [PATCH] Remove API_ROOT --- app.py | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) 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/")