Enabled Caddy logging and added unbuffered health check

This commit is contained in:
work committed 2026-02-10 22:20:19 +08:00
1 parent 29c9f0139e
commit a05c88f6d5
3 files changed
+15

No files matched your search

+4
View File
@@ -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")