Enabled Caddy logging and added unbuffered health check
This commit is contained in:
@@ -70,6 +70,10 @@ import os
|
||||
async def admin_panel():
|
||||
return FileResponse("app/static/admin.html")
|
||||
|
||||
@app.get("/api/v1/health")
|
||||
async def health_check():
|
||||
return {"status": "ok", "message": "Global AI Gateway is reachable"}
|
||||
|
||||
@app.get("/")
|
||||
async def root():
|
||||
return FileResponse("app/static/index.html")
|
||||
|
||||
Reference in New Issue
Block a user