diff --git a/apollo/server/server.py b/apollo/server/server.py index 999cc7b..33a2c95 100644 --- a/apollo/server/server.py +++ b/apollo/server/server.py @@ -59,6 +59,11 @@ Logger() Database(True, app, ["apollo.db"]) +@app.get("/_/healthz") +async def health(): + return {"status": "ok"} + + @app.exception_handler(404) async def not_found_handler(request, exc): if request.url.path.startswith("/api"