QuantumTransformer commited on
Commit
5af2319
·
verified ·
1 Parent(s): 11dba38

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. server/investigate_ui.py +4 -0
server/investigate_ui.py CHANGED
@@ -45,6 +45,10 @@ def register_investigate_ui(app: FastAPI) -> None:
45
  async def root_to_investigate() -> RedirectResponse:
46
  return RedirectResponse(url="/investigate", status_code=302)
47
 
 
 
 
 
48
  @app.get("/investigate", include_in_schema=False)
49
  async def investigate_page() -> FileResponse:
50
  path = static_dir / "investigate_hq.html"
 
45
  async def root_to_investigate() -> RedirectResponse:
46
  return RedirectResponse(url="/investigate", status_code=302)
47
 
48
+ @app.get("/web", include_in_schema=False)
49
+ async def web_to_investigate() -> RedirectResponse:
50
+ return RedirectResponse(url="/investigate", status_code=302)
51
+
52
  @app.get("/investigate", include_in_schema=False)
53
  async def investigate_page() -> FileResponse:
54
  path = static_dir / "investigate_hq.html"