didodev commited on
Commit
a3951ff
·
1 Parent(s): 34995f6

Add root healthcheck

Browse files
Files changed (1) hide show
  1. app.py +3 -0
app.py CHANGED
@@ -8,6 +8,9 @@ from fastapi.responses import JSONResponse
8
 
9
  app = FastAPI(title="iRecite MVP API")
10
  @app.get("/")
 
 
 
11
  def root():
12
  return {"status": "ok", "message": "iRecite MVP API is running. Go to /docs"}
13
 
 
8
 
9
  app = FastAPI(title="iRecite MVP API")
10
  @app.get("/")
11
+ def root():
12
+ return {"status": "ok", "message": "iRecite MVP API is running. Go to /docs"}
13
+ @app.get("/")
14
  def root():
15
  return {"status": "ok", "message": "iRecite MVP API is running. Go to /docs"}
16