petermutwiri commited on
Commit
0cf6b60
·
verified ·
1 Parent(s): 654fea6

Update app/main.py

Browse files
Files changed (1) hide show
  1. app/main.py +3 -0
app/main.py CHANGED
@@ -21,6 +21,9 @@ app = FastAPI(
21
  lifespan=lifespan
22
  )
23
 
 
 
 
24
  # ---------- Socket.IO Mount ----------
25
  app.mount("/socket.io", socket.socket_app)
26
 
 
21
  lifespan=lifespan
22
  )
23
 
24
+ @app.get("/")
25
+ def read_root():
26
+ return {"status": "ok", "service": "analytics-engine"}
27
  # ---------- Socket.IO Mount ----------
28
  app.mount("/socket.io", socket.socket_app)
29