Upload 322 files
Browse files- api_server_extended.py +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 / "
|
| 251 |
if html_path.exists():
|
| 252 |
return FileResponse(html_path)
|
| 253 |
-
return HTMLResponse("<h1>Admin Dashboard</h1><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
|
|
|