From a99e86e5ce65b499f67715a7b2269491cfe25ddf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Fri, 19 Apr 2024 10:00:50 +0200 Subject: [PATCH] hotfix for health check --- ooniapi/services/ooniprobe/src/ooniprobe/main.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ooniapi/services/ooniprobe/src/ooniprobe/main.py b/ooniapi/services/ooniprobe/src/ooniprobe/main.py index 44a53544..b58aa8f4 100644 --- a/ooniapi/services/ooniprobe/src/ooniprobe/main.py +++ b/ooniapi/services/ooniprobe/src/ooniprobe/main.py @@ -94,4 +94,8 @@ async def health( @app.get("/") async def root(): - return RedirectResponse("/docs") + # TODO(art): fix this redirect by pointing health monitoring to /health + #return RedirectResponse("/docs") + return { + "msg": "hello from ooniprobe" + }