Really-amin commited on
Commit
a5fce16
·
verified ·
1 Parent(s): a5cc5fc

Upload 322 files

Browse files
Files changed (2) hide show
  1. api_server_extended.py +2 -2
  2. index.html +0 -0
api_server_extended.py CHANGED
@@ -247,10 +247,10 @@ except Exception as e:
247
  @app.get("/", response_class=HTMLResponse)
248
  async def serve_admin_dashboard():
249
  """Serve admin dashboard"""
250
- html_path = WORKSPACE_ROOT / "index.html"
251
  if html_path.exists():
252
  return FileResponse(html_path)
253
- return HTMLResponse("<h1>Admin Dashboard</h1><p>index.html not found</p>")
254
 
255
 
256
  # ===== Health & Status Endpoints =====
 
247
  @app.get("/", response_class=HTMLResponse)
248
  async def serve_admin_dashboard():
249
  """Serve admin dashboard"""
250
+ html_path = WORKSPACE_ROOT / "admin.html"
251
  if html_path.exists():
252
  return FileResponse(html_path)
253
+ return HTMLResponse("<h1>Admin Dashboard</h1><p>admin.html not found</p>")
254
 
255
 
256
  # ===== Health & Status Endpoints =====
index.html CHANGED
The diff for this file is too large to render. See raw diff