diff options
Diffstat (limited to 'searx/webapp.py')
| -rwxr-xr-x | searx/webapp.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/searx/webapp.py b/searx/webapp.py index ee558a5f7..98480e4b6 100755 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -618,6 +618,11 @@ def index(): ) +@app.route('/healthz', methods=['GET']) +def health(): + return Response('OK', mimetype='text/plain') + + @app.route('/search', methods=['GET', 'POST']) def search(): """Search query in q and return results. |