AdarshDRC commited on
Commit
b24468d
·
verified ·
1 Parent(s): ccf2e38

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +3 -1
main.py CHANGED
@@ -488,7 +488,9 @@ async def get_categories(
488
  log("ERROR", "categories.error", user_id=user_id or "anonymous", ip=ip, error=str(e))
489
  return {"categories": []}
490
 
491
-
 
 
492
  @app.get("/api/health")
493
  async def health():
494
  return {"status": "ok", "timestamp": datetime.now(timezone.utc).isoformat()}
 
488
  log("ERROR", "categories.error", user_id=user_id or "anonymous", ip=ip, error=str(e))
489
  return {"categories": []}
490
 
491
+ @app.get("/")
492
+ async def root():
493
+ return {"status": "ok"}
494
  @app.get("/api/health")
495
  async def health():
496
  return {"status": "ok", "timestamp": datetime.now(timezone.utc).isoformat()}