From 89a0c46842954811217c8b2defa06c444e9411b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Arturo=20Filast=C3=B2?= Date: Fri, 19 Apr 2024 10:02:08 +0200 Subject: [PATCH] hotfix for health check (#837) --- 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" + }