Update app.py
Browse files
app.py
CHANGED
|
@@ -34,6 +34,10 @@ async def lifespan(app: FastAPI):
|
|
| 34 |
|
| 35 |
app = FastAPI(lifespan=lifespan)
|
| 36 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
|
| 38 |
@app.get("/")
|
| 39 |
def keep_alive():
|
|
|
|
| 34 |
|
| 35 |
app = FastAPI(lifespan=lifespan)
|
| 36 |
|
| 37 |
+
@app.get("/health")
|
| 38 |
+
def healthcheck():
|
| 39 |
+
return {"healthy": True}
|
| 40 |
+
|
| 41 |
|
| 42 |
@app.get("/")
|
| 43 |
def keep_alive():
|