We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cceeb3c commit 9c5d6e8Copy full SHA for 9c5d6e8
1 file changed
backend/main.py
@@ -48,7 +48,7 @@ async def lifespan(app: FastAPI):
48
app.include_router(router)
49
50
51
-@app.get("/health")
+@app.api_route("/health", methods=["GET", "HEAD"])
52
def health():
53
return {"status": "ok", "version": "2.0.0"}
54
0 commit comments