MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / login_page

Function login_page

src/main.py:304–309  ·  view source on GitHub ↗

Login page

()

Source from the content-addressed store, hash-verified

302
303@app.get("/login", response_class=HTMLResponse)
304async def login_page():
305 """Login page"""
306 login_file = static_path / "login.html"
307 if login_file.exists():
308 return _static_page_response(login_file)
309 return HTMLResponse(content="<h1>Login Page Not Found</h1>", status_code=404)
310
311
312@app.get("/manage", response_class=HTMLResponse)

Callers

nothing calls this directly

Calls 1

_static_page_responseFunction · 0.85

Tested by

no test coverage detected