mirror of
https://github.com/blackboxprogramming/BlackRoad-Operating-System.git
synced 2026-03-17 07:57:19 -05:00
Add unified health and version reporting
This commit is contained in:
@@ -64,6 +64,15 @@ async def serve_prism_console():
|
||||
return FileResponse(prism_index)
|
||||
|
||||
|
||||
@router.get("/prism/health")
|
||||
async def prism_health():
|
||||
"""Health endpoint for Prism Console assets."""
|
||||
return {
|
||||
"service": "prism-console",
|
||||
"status": "healthy",
|
||||
}
|
||||
|
||||
|
||||
@router.get("/prism/{file_path:path}")
|
||||
async def serve_prism_static_files(file_path: str):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user