MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / index

Function index

src/web/app.py:311–315  ·  view source on GitHub ↗
(request: Request)

Source from the content-addressed store, hash-verified

309
310 @app.get("/", response_class=HTMLResponse)
311 async def index(request: Request):
312 redirect_response = _guard_page_request(request)
313 if redirect_response:
314 return redirect_response
315 return _render_template(request, "index.html")
316
317 @app.get("/accounts", response_class=HTMLResponse)
318 async def accounts_page(request: Request):

Callers

nothing calls this directly

Calls 2

_guard_page_requestFunction · 0.85
_render_templateFunction · 0.85

Tested by

no test coverage detected