Skip to content

Commit

Permalink
Add healthcheck endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
Pasha Radchenko committed Jan 3, 2022
1 parent bc5464d commit 2bc7235
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autopsy_app/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -371,6 +371,11 @@ def support():
return render_template('support.html', form=form, recent_urls=urls)


@app.route('/healthz')
def healthz():
return "OK", 200


@app.errorhandler(404)
def page_not_found(e):
"""
Expand Down

0 comments on commit 2bc7235

Please sign in to comment.