Serve the main configuration page.
(request: Request)
| 39 | |
| 40 | @app.get("/", response_class=HTMLResponse) |
| 41 | async def get_root(request: Request): |
| 42 | """Serve the main configuration page.""" |
| 43 | with open("static/index.html", "r") as f: |
| 44 | return HTMLResponse(content=f.read()) |
| 45 | |
| 46 | @app.get("/chatbot", response_class=HTMLResponse) |
| 47 | async def get_chatbot(request: Request): |
nothing calls this directly
no outgoing calls
no test coverage detected