Skip to content

Commit

Permalink
hotfix for health check (#837)
Browse files Browse the repository at this point in the history
  • Loading branch information
hellais authored Apr 19, 2024
1 parent 57de625 commit 89a0c46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion ooniapi/services/ooniprobe/src/ooniprobe/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}

0 comments on commit 89a0c46

Please sign in to comment.