ZakharZokhar commited on
Commit
a361b87
1 Parent(s): 4f7a51a

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -16,7 +16,7 @@ templates = Jinja2Templates(directory="templates")
16
 
17
  # Главная страница с текстом "server is running"
18
  @app.get("/", response_class=HTMLResponse)
19
- async def read_root():
20
  return templates.TemplateResponse("index.html", {"request": request, "text": "server is running"})
21
 
22
 
 
16
 
17
  # Главная страница с текстом "server is running"
18
  @app.get("/", response_class=HTMLResponse)
19
+ async def read_root(request: Request):
20
  return templates.TemplateResponse("index.html", {"request": request, "text": "server is running"})
21
 
22